Package io.stargate.it.cql
Class SchemaChangesTest
- java.lang.Object
-
- io.stargate.it.BaseIntegrationTest
-
- io.stargate.it.cql.SchemaChangesTest
-
- Direct Known Subclasses:
SchemaChangesTest.WithV4ProtocolVersionTest
,SchemaChangesTest.WithV5ProtocolVersionTest
@ExtendWith(org.mockito.junit.jupiter.MockitoExtension.class) @ExtendWith(CqlSessionExtension.class) public abstract class SchemaChangesTest extends BaseIntegrationTest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SchemaChangesTest.WithV4ProtocolVersionTest
static class
SchemaChangesTest.WithV5ProtocolVersionTest
-
Field Summary
-
Fields inherited from class io.stargate.it.BaseIntegrationTest
backend
-
-
Constructor Summary
Constructors Constructor Description SchemaChangesTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
alreadyExistsErrors(com.datastax.oss.driver.api.core.CqlSession session, com.datastax.oss.driver.api.core.CqlIdentifier keyspaceId)
static com.datastax.oss.driver.api.core.CqlSessionBuilder
registerListener(com.datastax.oss.driver.api.core.CqlSessionBuilder builder)
void
schemaChangesTest(com.datastax.oss.driver.api.core.CqlSession session, com.datastax.oss.driver.api.core.CqlIdentifier keyspaceId)
-
Methods inherited from class io.stargate.it.BaseIntegrationTest
backendSupportsSAI, init, isCassandra4, isCassandra41, now, withProtocolV4, withProtocolV5
-
-
-
-
Method Detail
-
registerListener
public static com.datastax.oss.driver.api.core.CqlSessionBuilder registerListener(com.datastax.oss.driver.api.core.CqlSessionBuilder builder)
-
schemaChangesTest
@Test @DisplayName("Should notify of schema changes") public void schemaChangesTest(com.datastax.oss.driver.api.core.CqlSession session, com.datastax.oss.driver.api.core.CqlIdentifier keyspaceId)
-
alreadyExistsErrors
@Test @DisplayName("Should fail when trying to create schema elements that already exist") public void alreadyExistsErrors(com.datastax.oss.driver.api.core.CqlSession session, com.datastax.oss.driver.api.core.CqlIdentifier keyspaceId)
-
-