Explorar o código

dont use the control connection to create tables and dont use a retry policy

Chris Bannister %!s(int64=9) %!d(string=hai) anos
pai
achega
4b4436f7ee
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      common_test.go

+ 1 - 1
common_test.go

@@ -51,7 +51,7 @@ func createTable(s *Session, table string) error {
 		return err
 	}
 
-	if err := s.control.query(table).Close(); err != nil {
+	if err := s.Query(table).RetryPolicy(nil).Exec(); err != nil {
 		return err
 	}