stanley-king 3 年之前
父节点
当前提交
2cc6748b78
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      test/TestRefillThird.php

+ 2 - 2
test/TestRefillThird.php

@@ -122,7 +122,7 @@ class TestRefillThird extends TestCase
         $sender = function ()
         {
             $time = time();
-            for ($i = 0; $i < 10000; $i++)
+            for ($i = 0; $i < 1000; $i++)
             {
                 $params = [ 'mchid' => 1092,
                     'buyer_id' => 60221,
@@ -143,7 +143,7 @@ class TestRefillThird extends TestCase
 
         for ($i = 0;$i < 10; $i++) {
             $sender();
-            sleep(2);
+            sleep(1);
         }
 
         //docker-compose run phpcli php /var/www/html/phpunit-9.2.5.phar --filter "/(TestRefillThird::testSlowPushPhones)( .*)?$/" --test-suffix TestRefillThird.php /var/www/html/test