aboutsummaryrefslogtreecommitdiff
path: root/internal/database/database_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/database/database_test.go')
-rw-r--r--internal/database/database_test.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/internal/database/database_test.go b/internal/database/database_test.go
index 43b02d74..600ecc4f 100644
--- a/internal/database/database_test.go
+++ b/internal/database/database_test.go
@@ -394,7 +394,6 @@ func testTransactSerializable(ctx context.Context, t *testing.T) string {
return err
}
- sawRetries := false
for i := 0; i < 10; i++ {
for _, stmt := range []string{
`DROP TABLE IF EXISTS ser`,
@@ -423,16 +422,6 @@ func testTransactSerializable(ctx context.Context, t *testing.T) string {
return err.Error()
}
}
- t.Logf("max retries: %d", testDB.MaxRetries())
- // If nothing got retried, this test isn't exercising some important behavior.
- // Try again.
- if testDB.MaxRetries() > 0 {
- sawRetries = true
- break
- }
- }
- if !sawRetries {
- return "did not see any retries"
}
// Demonstrate serializability: there should be numTransactions new rows in