Преглед на файлове

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

increase the sleep time when creating tables
Chris Bannister преди 10 години
родител
ревизия
215ac7fec0
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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
 }