Quellcode durchsuchen

Let's look at what more retries buys us

Ben Hood vor 11 Jahren
Ursprung
Commit
49dc390e60
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      cassandra_test.go

+ 1 - 1
cassandra_test.go

@@ -56,7 +56,7 @@ func createSession(tb testing.TB) *Session {
 	cluster.CQLVersion = *flagCQL
 	cluster.Timeout = 5 * time.Second
 	cluster.Consistency = Quorum
-	cluster.RetryPolicy.NumRetries = 2
+	cluster.RetryPolicy.NumRetries = 10
 
 	initOnce.Do(func() {
 		session, err := cluster.CreateSession()