frankgh commented on code in PR #85:
URL: https://github.com/apache/cassandra-sidecar/pull/85#discussion_r1430774470
##########
src/test/integration/org/apache/cassandra/sidecar/routes/SnapshotsHandlerIntegrationTest.java:
##########
@@ -67,6 +82,69 @@ void
createSnapshotEndpointFailsWhenTableDoesNotExist(VertxTestContext context)
assertThat(context.awaitCompletion(30, TimeUnit.SECONDS)).isTrue();
}
+ @CassandraIntegrationTest
+ void createSnapshotWithTtlFailsWhenUnitsAreNotSpecified(VertxTestContext
context,
+
CassandraTestContext cassandraTestContext)
+ throws InterruptedException
+ {
+ if
(cassandraTestContext.version.compareTo(SimpleCassandraVersion.create(4, 1, 0))
< 0)
+ {
+ // TTL is only supported in Cassandra 4.1
+ context.completeNow();
Review Comment:
skip testing for versions < 4.1
--
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]