From dc99481b79cf7a4d2bcc1e5ab8c71eddc5691f2c Mon Sep 17 00:00:00 2001 From: shellphy Date: Tue, 25 Jun 2024 19:14:11 +0800 Subject: [PATCH] add swoole test --- tests/Goridge/SwooleTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Goridge/SwooleTest.php b/tests/Goridge/SwooleTest.php index b9d9b32..ee13658 100644 --- a/tests/Goridge/SwooleTest.php +++ b/tests/Goridge/SwooleTest.php @@ -38,7 +38,7 @@ public function testNoExceptionWithSwooleCoroutine(): void foreach ($methods as $method) { $barrier = Barrier::make(); - for ($i = 0; $i < 2; $i++) { + for ($i = 0; $i < 5; $i++) { go(function () use ($barrier, $method) { $this->$method(); });