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(
271271 // wait for latches and fail if they don't reach zero before timeout
272272 assertThat (
273273 Uninterruptibles .awaitUninterruptibly (
274- preparedStmtCacheRemoveLatch , 10 , TimeUnit .SECONDS ))
274+ preparedStmtCacheRemoveLatch , 20 , TimeUnit .SECONDS ))
275275 .withFailMessage ("preparedStmtCacheRemoveLatch did not trigger before timeout" )
276276 .isTrue ();
277- assertThat (Uninterruptibles .awaitUninterruptibly (typeChangeEventLatch , 10 , TimeUnit .SECONDS ))
277+ assertThat (Uninterruptibles .awaitUninterruptibly (typeChangeEventLatch , 20 , TimeUnit .SECONDS ))
278278 .withFailMessage ("typeChangeEventLatch did not trigger before timeout" )
279279 .isTrue ();
280280
Original file line number Diff line number Diff line change @@ -151,11 +151,11 @@ public void should_disable_schema_programmatically_when_enabled_in_config() {
151151 sessionRule
152152 .session ()
153153 .execute (
154- SimpleStatement .builder ("CREATE TABLE foo (k int primary key)" )
154+ SimpleStatement .builder ("CREATE TABLE foo_schema_it (k int primary key)" )
155155 .setExecutionProfile (slowProfile )
156156 .build ());
157157 assertThat (session .getMetadata ().getKeyspace (sessionRule .keyspace ()).get ().getTables ())
158- .doesNotContainKey (CqlIdentifier .fromInternal ("foo " ));
158+ .doesNotContainKey (CqlIdentifier .fromInternal ("foo_schema_it " ));
159159
160160 // Reset to config value (true), should refresh and load the new table
161161 session .setSchemaMetadataEnabled (null );
@@ -167,7 +167,7 @@ public void should_disable_schema_programmatically_when_enabled_in_config() {
167167 () ->
168168 assertThat (
169169 session .getMetadata ().getKeyspace (sessionRule .keyspace ()).get ().getTables ())
170- .containsKey (CqlIdentifier .fromInternal ("foo " )));
170+ .containsKey (CqlIdentifier .fromInternal ("foo_schema_it " )));
171171 }
172172
173173 @ Test
You can’t perform that action at this time.
0 commit comments