Skip to content

Commit a48fb40

Browse files
committed
fix: larger test tolerance
1 parent 96a78ab commit a48fb40

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/java/dev/openfga/sdk/api/client/HttpRequestAttemptRetryTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ void shouldUseRetryAfterWhenLargerThanGlobalMinimumDelay() throws Exception {
552552
// Then
553553
// Should have respected the Retry-After header (2 seconds) over minimum delay (500ms)
554554
// Note: Using generous bounds due to timing variability in test environments
555-
assertThat(totalTime.toMillis()).isGreaterThan(1800); // Should be at least ~2 seconds
555+
assertThat(totalTime.toMillis()).isGreaterThan(1200); // Should be at least ~2 seconds (with larger CI tolerance)
556556
assertThat(totalTime.toMillis()).isLessThan(10000); // But not excessive
557557

558558
// Verify both requests were made

0 commit comments

Comments
 (0)