Procházet zdrojové kódy

Merge pull request #350 from Zariel/fix-ring-desc-test

if we dont connect the session it will be nil
Chris Bannister před 10 roky
rodič
revize
8936bda636
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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 {