worryg0d commented on code in PR #1822:
URL: 
https://github.com/apache/cassandra-gocql-driver/pull/1822#discussion_r1802481579


##########
batch_test.go:
##########
@@ -84,3 +85,84 @@ func TestBatch_WithTimestamp(t *testing.T) {
                t.Errorf("got ts %d, expected %d", storedTs, micros)
        }
 }
+
+func TestBatch_WithNowInSeconds(t *testing.T) {
+       session := createSession(t)
+       defer session.Close()
+
+       if session.cfg.ProtoVersion < protoVersion5 {
+               t.Skip("Batch now in seconds are only available on protocol >= 
5")
+       }
+
+       if err := createTable(session, `CREATE TABLE batch_now_in_seconds (id 
int primary key, val text)`); err != nil {

Review Comment:
   As far as I know `createSession` internally calls `createKeyspace` which 
deletes old **gocql_test** keyspace and creates a new one. So, it doesn't 
matter even if we run these tests locally, or each test individually. However, 
it is not a big change so I'll add it to tests.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to