소스 검색

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 {