From ef33b348152be48ca59160d5cdb0bb884794febc Mon Sep 17 00:00:00 2001 From: tienvx Date: Sat, 29 Jul 2023 08:14:46 +0700 Subject: [PATCH] Revert "chore: Disable process timeout" This reverts commit 25778072112236fd0c2b6858b8eaaf5a977b567c. --- example/tests/Provider/PactVerifyTest.php | 2 +- tests/PhpPact/Standalone/ProviderVerifier/VerifierTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/example/tests/Provider/PactVerifyTest.php b/example/tests/Provider/PactVerifyTest.php index 39f7141b..e36e0b75 100644 --- a/example/tests/Provider/PactVerifyTest.php +++ b/example/tests/Provider/PactVerifyTest.php @@ -25,7 +25,7 @@ protected function setUp(): void { $publicPath = __DIR__ . '/../../src/Provider/public/'; - $this->process = new Process(['php', '-S', '127.0.0.1:7202', '-t', $publicPath], null, null, null, null); + $this->process = new Process(['php', '-S', '127.0.0.1:7202', '-t', $publicPath]); $this->process->start(); $this->process->waitUntil(function (): bool { diff --git a/tests/PhpPact/Standalone/ProviderVerifier/VerifierTest.php b/tests/PhpPact/Standalone/ProviderVerifier/VerifierTest.php index 8ce92189..245d60a5 100644 --- a/tests/PhpPact/Standalone/ProviderVerifier/VerifierTest.php +++ b/tests/PhpPact/Standalone/ProviderVerifier/VerifierTest.php @@ -19,7 +19,7 @@ protected function setUp(): void { $publicPath = __DIR__ . '/../../../_public/'; - $this->process = new Process(['php', '-S', '127.0.0.1:7202', '-t', $publicPath], null, null, null, null); + $this->process = new Process(['php', '-S', '127.0.0.1:7202', '-t', $publicPath]); $this->process->start(); $this->process->waitUntil(function (): bool {