浏览代码

if we dont connect the session it will be nil

Chris Bannister 10 年之前
父节点
当前提交
7617690d63
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      cassandra_test.go

+ 1 - 1
cassandra_test.go

@@ -137,7 +137,7 @@ func TestRingDiscovery(t *testing.T) {
 	cluster = addSslOptions(cluster)
 	session, err := cluster.CreateSession()
 	if err != nil {
-		t.Errorf("got error connecting to the cluster %v", err)
+		t.Fatalf("got error connecting to the cluster %v", err)
 	}
 
 	if *clusterSize > 1 {