Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,14 @@ public void should_parse_UDT_definitions_when_using_default_protocol_version() {
Cluster cluster = register(createClusterBuilder().build());
Session session = cluster.connect();
session.execute(
"create keyspace ks WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 1}");
session.execute("create type ks.foo (i int)");
"create keyspace ControlConnectionTest_ks WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 1}");
session.execute("create type ControlConnectionTest_ks.foo (i int)");
cluster.close();

// Second driver instance: read UDT definition
Cluster cluster2 = register(createClusterBuilder().build());
UserType fooType = cluster2.getMetadata().getKeyspace("ks").getUserType("foo");
UserType fooType =
cluster2.getMetadata().getKeyspace("ControlConnectionTest_ks").getUserType("foo");

assertThat(fooType.getFieldNames()).containsExactly("i");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -775,6 +775,7 @@ public void should_not_create_tombstone_when_unbound_value_on_batch_statement_an
* @since 2.2.0
*/
@Test(groups = "long")
@ScyllaSkip
public void should_create_tombstone_when_null_value_on_bound_statement() {
PreparedStatement prepared =
session().prepare("INSERT INTO " + SIMPLE_TABLE + " (k, i) VALUES (?, ?)");
Expand Down