Skip to content

Commit 366bb38

Browse files
committed
Skip handle_id_changes_on_reprepare() for Scylla
Adds ScyllaSkip annotation to PreparedStatementIT.handle_id_changes_on_reprepare() This is a test method that comes with the most recent merge with 4.18.0 It checks if in case of performing `USE <keyspace>` the server side will not reprepare the statement under different ID if keyspace was already defined in query string. It seems it works this way in select versions of Cassandra up to 4.0.1 and every higher than that.
1 parent 60a66a8 commit 366bb38

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

integration-tests/src/test/java/com/datastax/oss/driver/core/cql/PreparedStatementIT.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,9 @@ public void should_fail_fast_if_id_changes_on_reprepare() {
512512
maxExclusive = "4.0.0")
513513
@BackendRequirement(type = BackendType.CASSANDRA, minInclusive = "4.0.2")
514514
@Test
515+
@ScyllaSkip(
516+
description =
517+
"It seems Scylla always will reprepare with different ID when reproducing CASSANDRA-15252 scenario")
515518
public void handle_id_changes_on_reprepare() {
516519
assertableReprepareAfterIdChange().doesNotThrowAnyException();
517520
}

0 commit comments

Comments
 (0)