diff --git a/tests/HttpServerTest.php b/tests/HttpServerTest.php index 23dcc758..a6d8057b 100644 --- a/tests/HttpServerTest.php +++ b/tests/HttpServerTest.php @@ -404,7 +404,9 @@ public function testConstructServerWithUnlimitedMemoryLimitDoesNotLimitConcurren public function testConstructServerWithMemoryLimitDoesLimitConcurrency() { $old = ini_get('memory_limit'); - ini_set('memory_limit', '100M'); + if (@ini_set('memory_limit', '128M') === false) { + $this->markTestSkipped('Unable to change memory limit'); + } $http = new HttpServer(function () { });