Skip to content

Commit 386ab65

Browse files
deflake test
1 parent 7ca410f commit 386ab65

File tree

1 file changed

+1
-1
lines changed
  • bigtable-hbase-1.x-parent/bigtable-hbase-1.x-integration-tests/src/test/java/com/google/cloud/bigtable/hbase

1 file changed

+1
-1
lines changed

bigtable-hbase-1.x-parent/bigtable-hbase-1.x-integration-tests/src/test/java/com/google/cloud/bigtable/hbase/TestRpcRetryBehavior.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ protected void validateOperationRuntime(StopWatch sw) {
170170
// do an additional attempt. Update the upper bound accordingly.
171171
assertThat(
172172
sw.getTime(),
173-
Matchers.both(greaterThanOrEqualTo(operationTimeoutMs))
173+
Matchers.both(greaterThanOrEqualTo(operationTimeoutMs - attemptTimeoutMs / 2))
174174
.and(lessThan(operationTimeoutMs + attemptTimeoutMs + 200))); // plus some buffer
175175
}
176176
}

0 commit comments

Comments
 (0)