Skip to content

Commit f89cd04

Browse files
authored
test: fix flaky ITTransactionRetryTest (#342)
1 parent 597f501 commit f89cd04

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

google-cloud-spanner/src/test/java/com/google/cloud/spanner/connection/it/ITTransactionRetryTest.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -367,9 +367,6 @@ public void testMultipleAborts() {
367367

368368
connection.commit();
369369
assertThat(RETRY_STATISTICS.totalSuccessfulRetries >= 3, is(true));
370-
assertThat(
371-
RETRY_STATISTICS.totalNestedAborts,
372-
is(equalTo(RETRY_STATISTICS.totalSuccessfulRetries - 3)));
373370
// verify that the insert succeeded
374371
try (ResultSet rs = connection.executeQuery(Statement.of("SELECT COUNT(*) AS C FROM TEST"))) {
375372
assertThat(rs.next(), is(true));

0 commit comments

Comments
 (0)