浏览代码

Let's look at what more retries buys us

Ben Hood 11 年之前
父节点
当前提交
49dc390e60
共有 1 个文件被更改,包括 1 次插入1 次删除
  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()