@@ -331,27 +331,27 @@ public function testRetryBackoffTime()
331
331
$ retry = new WriteRetry ();
332
332
333
333
$ backoff = $ retry ->getBackoffTime (1 );
334
- $ this ->assertGreaterThan (5000 , $ backoff );
334
+ $ this ->assertGreaterThanOrEqual (5000 , $ backoff );
335
335
$ this ->assertLessThanOrEqual (10000 , $ backoff );
336
336
337
337
$ backoff = $ retry ->getBackoffTime (2 );
338
- $ this ->assertGreaterThan (10000 , $ backoff );
338
+ $ this ->assertGreaterThanOrEqual (10000 , $ backoff );
339
339
$ this ->assertLessThanOrEqual (20000 , $ backoff );
340
340
341
341
$ backoff = $ retry ->getBackoffTime (3 );
342
- $ this ->assertGreaterThan (20000 , $ backoff );
342
+ $ this ->assertGreaterThanOrEqual (20000 , $ backoff );
343
343
$ this ->assertLessThanOrEqual (40000 , $ backoff );
344
344
345
345
$ backoff = $ retry ->getBackoffTime (4 );
346
- $ this ->assertGreaterThan (40000 , $ backoff );
346
+ $ this ->assertGreaterThanOrEqual (40000 , $ backoff );
347
347
$ this ->assertLessThanOrEqual (80000 , $ backoff );
348
348
349
349
$ backoff = $ retry ->getBackoffTime (5 );
350
- $ this ->assertGreaterThan (80000 , $ backoff );
350
+ $ this ->assertGreaterThanOrEqual (80000 , $ backoff );
351
351
$ this ->assertLessThanOrEqual (125000 , $ backoff );
352
352
353
353
$ backoff = $ retry ->getBackoffTime (6 );
354
- $ this ->assertGreaterThan (80000 , $ backoff );
354
+ $ this ->assertGreaterThanOrEqual (80000 , $ backoff );
355
355
$ this ->assertLessThanOrEqual (125000 , $ backoff );
356
356
}
357
357
0 commit comments