scylladb / python-driver

ScyllaDB Python Driver, originally DataStax Python Driver for Apache Cassandra
https://python-driver.docs.scylladb.com
Apache License 2.0
70 stars 42 forks source link

[test-failure] test_deprecation_warnings_meta_refreshed #183

Open benipeled opened 1 year ago

benipeled commented 1 year ago

Seen for the first time, didn't try to reproduce it, might cause by infra

    def test_deprecation_warnings_meta_refreshed(self):
        """
        Tests the deprecation warning has been added when enabling
        metadata refreshment

        @since 3.13
        @jira_ticket PYTHON-890
        @expected_result the deprecation warning is emitted

        @test_category logs
        """
        with warnings.catch_warnings(record=True) as w:
            cluster = TestCluster()
            cluster.set_meta_refresh_enabled(True)
>           self.assertEqual(len(w), 1)
E           AssertionError: 3 != 1

tests/integration/standard/test_cluster.py:1548: AssertionError

https://jenkins.scylladb.com/job/scylla-5.0/job/driver-tests/job/python-driver-matrix-test/47/