adelapena commented on code in PR #1891:
URL: https://github.com/apache/cassandra/pull/1891#discussion_r1171496735
##########
test/unit/org/apache/cassandra/cql3/CustomNowInSecondsTest.java:
##########
@@ -73,6 +79,48 @@ private void testSelectQuery(boolean prepared)
assertEquals(0, executeSelect(format("SELECT * FROM %s.%s", ks, tbl),
now + day + 1, prepared).size());
}
+ @Test
+ public void testSelectQueryWitInthOverflow()
+ {
+ testSelectQueryOverflowingIntTimestamps(false);
+ testSelectQueryOverflowingIntTimestamps(true);
+ }
+
+ private void testSelectQueryOverflowingIntTimestamps(boolean prepared)
Review Comment:
These two methods could have the same name.
--
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]