File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
integration-tests/src/test/java/com/datastax/oss/driver/core Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -271,10 +271,10 @@ private void invalidationTestInner(
271
271
// wait for latches and fail if they don't reach zero before timeout
272
272
assertThat (
273
273
Uninterruptibles .awaitUninterruptibly (
274
- preparedStmtCacheRemoveLatch , 10 , TimeUnit .SECONDS ))
274
+ preparedStmtCacheRemoveLatch , 20 , TimeUnit .SECONDS ))
275
275
.withFailMessage ("preparedStmtCacheRemoveLatch did not trigger before timeout" )
276
276
.isTrue ();
277
- assertThat (Uninterruptibles .awaitUninterruptibly (typeChangeEventLatch , 10 , TimeUnit .SECONDS ))
277
+ assertThat (Uninterruptibles .awaitUninterruptibly (typeChangeEventLatch , 20 , TimeUnit .SECONDS ))
278
278
.withFailMessage ("typeChangeEventLatch did not trigger before timeout" )
279
279
.isTrue ();
280
280
Original file line number Diff line number Diff line change @@ -151,11 +151,11 @@ public void should_disable_schema_programmatically_when_enabled_in_config() {
151
151
sessionRule
152
152
.session ()
153
153
.execute (
154
- SimpleStatement .builder ("CREATE TABLE foo (k int primary key)" )
154
+ SimpleStatement .builder ("CREATE TABLE foo_schema_it (k int primary key)" )
155
155
.setExecutionProfile (slowProfile )
156
156
.build ());
157
157
assertThat (session .getMetadata ().getKeyspace (sessionRule .keyspace ()).get ().getTables ())
158
- .doesNotContainKey (CqlIdentifier .fromInternal ("foo " ));
158
+ .doesNotContainKey (CqlIdentifier .fromInternal ("foo_schema_it " ));
159
159
160
160
// Reset to config value (true), should refresh and load the new table
161
161
session .setSchemaMetadataEnabled (null );
@@ -167,7 +167,7 @@ public void should_disable_schema_programmatically_when_enabled_in_config() {
167
167
() ->
168
168
assertThat (
169
169
session .getMetadata ().getKeyspace (sessionRule .keyspace ()).get ().getTables ())
170
- .containsKey (CqlIdentifier .fromInternal ("foo " )));
170
+ .containsKey (CqlIdentifier .fromInternal ("foo_schema_it " )));
171
171
}
172
172
173
173
@ Test
You can’t perform that action at this time.
0 commit comments