From 76142892901299addd1a67dbc49c65132bb9211a Mon Sep 17 00:00:00 2001 From: Joscha Date: Fri, 24 Jun 2016 12:02:32 +0200 Subject: [PATCH] run with 1100 samples --- nginx/nginx.conf | 2 +- tests/Test/BlackBoxTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index a4f076c..6a9dcef 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -6,7 +6,7 @@ pid /var/run/nginx.pid; events { - worker_connections 2048; + worker_connections 4096; } diff --git a/tests/Test/BlackBoxTest.php b/tests/Test/BlackBoxTest.php index 5be45b2..d6da60f 100644 --- a/tests/Test/BlackBoxTest.php +++ b/tests/Test/BlackBoxTest.php @@ -56,7 +56,7 @@ public function countersShouldIncrementAtomically() $start = microtime(true); $promises = []; $sum = 0; - for ($i = 0; $i < 1000; $i++) { + for ($i = 0; $i < 1100; $i++) { $promises[] = $this->client->getAsync('/examples/some_counter.php?c=' . $i); $sum += $i; }