Skip to content

Commit 95f5086

Browse files
committed
Disable flaky ListenersIT integration test
Disable should_inject_session_in_listeners test. The problem with this test is that it immediately checks the CqlSession after it was built, but there is still some session initialization pending in the background.
1 parent f43513a commit 95f5086

File tree

1 file changed

+4
-0
lines changed
  • integration-tests/src/test/java/com/datastax/oss/driver/core/session

1 file changed

+4
-0
lines changed

integration-tests/src/test/java/com/datastax/oss/driver/core/session/ListenersIT.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
import edu.umd.cs.findbugs.annotations.NonNull;
3838
import java.util.Collections;
3939
import org.junit.ClassRule;
40+
import org.junit.Ignore;
4041
import org.junit.Test;
4142
import org.junit.experimental.categories.Category;
4243
import org.junit.runner.RunWith;
@@ -65,6 +66,9 @@ public class ListenersIT {
6566
@Captor private ArgumentCaptor<Node> nodeCaptor2;
6667

6768
@Test
69+
@Ignore(
70+
"@IntegrationTestDisabledFlaky") // sleep after build() fixes the flakiness, session readiness
71+
// is async
6872
public void should_inject_session_in_listeners() throws Exception {
6973
try (CqlSession session =
7074
(CqlSession)

0 commit comments

Comments
 (0)