scylladb / scylla-java-driver-matrix

2 stars 7 forks source link

scylla-4.x: Update 4.15.0.0 and 4.17.0.0 patches #49

Closed dimakr closed 6 months ago

dimakr commented 6 months ago

PeersV2NodeRefreshIT test is not closing its test session, which leaks into SessionLeakIT tests and causes the should_warn_when_session_count_exceeds_threshold test to fail. The change adds an After cleanup method to ensure that the test session is closed after the test and is not leaked / affecting any other subsequent tests.

Fixes: https://github.com/scylladb/scylla-java-driver-matrix/issues/46.

The change was tested in master java-driver-matrix pipeline: scylla-master-java-driver-matrix-test (please note that the datastax version of the driver was deliberately skipped in the build, to not run the corresponding stage and save time. This results in the expected fail of this stage. But the scylla version of the driver is fixed now and the test suite passes)