There is the fixture in `test/cql/conftest.py` which checks CQL connection after each test and exit from pytest session if the connection was failed. For CQL tests it's simply no difference what to use: pytest.exit() or pytest.fail() because tests are executing one-by-one in separate pytest sessions. Change it to pytest.fail() for future integration into a single pytest session.