Procházet zdrojové kódy

Merge pull request #335 from Zariel/debug-schema-propogation

increase the sleep time when creating tables
Chris Bannister před 10 roky
rodič
revize
215ac7fec0
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

@@ -57,7 +57,7 @@ func createTable(s *Session, table string) error {
 	err := s.Query(table).Consistency(All).Exec()
 	if *clusterSize > 1 {
 		// wait for table definition to propogate
-		time.Sleep(250 * time.Millisecond)
+		time.Sleep(1 * time.Second)
 	}
 	return err
 }