Skip to content

Commit da712c7

Browse files
committed
Use slow profile for DDL statement
1 parent e70f0c9 commit da712c7

File tree

1 file changed

+3
-1
lines changed
  • integration-tests/src/test/java/com/datastax/oss/driver/mapper

1 file changed

+3
-1
lines changed

integration-tests/src/test/java/com/datastax/oss/driver/mapper/UpdateIT.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ public static void setup() {
6868
session.execute(
6969
SimpleStatement.builder(query).setExecutionProfile(SESSION_RULE.slowProfile()).build());
7070
}
71-
session.execute("CREATE TABLE only_p_k(id uuid PRIMARY KEY)");
71+
session.execute(
72+
SimpleStatement.newInstance("CREATE TABLE only_p_k(id uuid PRIMARY KEY)")
73+
.setExecutionProfile(SESSION_RULE.slowProfile()));
7274

7375
inventoryMapper = new UpdateIT_InventoryMapperBuilder(session).build();
7476
dao = inventoryMapper.productDao(SESSION_RULE.keyspace());

0 commit comments

Comments
 (0)