Explorar o código

if we dont connect the session it will be nil

Chris Bannister %!s(int64=10) %!d(string=hai) anos
pai
achega
7617690d63
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 {