cdc-apache-cassandra icon indicating copy to clipboard operation
cdc-apache-cassandra copied to clipboard

Connector flaky test: PulsarCassandraSourceTests#testConnectionFailure

Open nicoloboschi opened this issue 3 years ago • 1 comments

PulsarCassandraSourceTests > testConnectionFailure() FAILED
    org.opentest4j.AssertionFailedError: expected: <3> but was: <0>
        at app//org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
        at app//org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62)
        at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:150)
        at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:145)
        at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:510)
        at app//com.datastax.oss.pulsar.source.PulsarCassandraSourceTests.testConnectionFailure(PulsarCassandraSourceTests.java:804)

https://github.com/datastax/cdc-apache-cassandra/runs/6654630390?check_suite_focus=true

nicoloboschi avatar May 30 '22 16:05 nicoloboschi

I tested the flaky test 10 times, but I was unable to reproduce the issue.

Test Setup information:

  • System - Apple Silicon M4
  • OS - Mac OS X
  • Java - Oracle OpenJDK 17.0.12 - aarch64
  • CDC Version - v2.3.2

Additionally, the following Continuous Integration (CI) tests also passed.

  • https://github.com/datastax/cdc-apache-cassandra/actions/runs/16569902657
  • https://github.com/datastax/cdc-apache-cassandra/actions/runs/16569884325
  • https://github.com/datastax/cdc-apache-cassandra/actions/runs/16569872391

darkmatter18 avatar Aug 11 '25 09:08 darkmatter18