Skip to content

Commit 9e97ad3

Browse files
authored
Merge pull request #208 from SimonFrings/inaccurate_clocks
Increase sleep time to cover test case for inaccurate clocks
2 parents 18a98ca + bf6876d commit 9e97ad3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/AccessLogHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ public function testInvokeWithStreamingResponseThatClosesAfterSomeTimePrintsRequ
184184
$this->expectOutputRegex("/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\.\d{3} 127\.0\.0\.1 \"GET \/users HTTP\/1\.1\" 200 0 0\.1\d\d" . PHP_EOL . "$/");
185185
$handler($request, function () use ($response) { return $response; });
186186

187-
usleep(110000); // 100ms + 10ms to account for inaccurate clocks
187+
usleep(150000); // 100ms + 50ms to account for inaccurate clocks
188188
$stream->end();
189189
}
190190

0 commit comments

Comments
 (0)