Skip to content

Commit a871452

Browse files
committed
Increase tolerance of request start time
1 parent 06124e8 commit a871452

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/PHPCurlClass/PHPMultiCurlClassTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4435,7 +4435,7 @@ public function testSetRateLimitOnePerOneMinute()
44354435
$this->assertLessThanOrEqual(60.5, $request_stats['1']['relative_start']);
44364436
// Assert R2 starts around 120 and not before.
44374437
$this->assertGreaterThanOrEqual(120, $request_stats['2']['relative_start']);
4438-
$this->assertLessThanOrEqual(120.5, $request_stats['2']['relative_start']);
4438+
$this->assertLessThanOrEqual(120.5 + 1, $request_stats['2']['relative_start']);
44394439
}
44404440

44414441
public function testSetRateLimitThreePerOneMinute()

0 commit comments

Comments
 (0)