Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Correctness - Test Failure
-
Normal
-
Normal
-
Unit Test
-
All
-
None
-
Description
This test fails from time to time (see butler https://butler.cassandra.apache.org/#/ci/upstream/workflow/Cassandra-trunk/failure/hintedhandoff_test/TestHintedHandoff/test_hintedhandoff_window)
# Ensure second and third datasets are not present for x in range(100, 300): > query_c1c2(session, x, ConsistencyLevel.ONE, tolerate_missing=True, must_be_missing=True) hintedhandoff_test.py:264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tools/data.py:44: in query_c1c2 assertions.assert_length_equal(rows, 0) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ object_with_length = [Row(c1='value1', c2='value2')], expected_length = 0 def assert_length_equal(object_with_length, expected_length): """ Assert an object has a specific length. @param object_with_length The object whose length will be checked @param expected_length The expected length of the object Examples: assert_length_equal(res, nb_counter) """ assert len(object_with_length) == expected_length, \ "Expected {} to have length {}, but instead is of length {}"\ > .format(object_with_length, expected_length, len(object_with_length)) E AssertionError: Expected [Row(c1='value1', c2='value2')] to have length 0, but instead is of length 1 tools/assertions.py:269: AssertionError
Attachments
Issue Links
- is a parent of
-
CASSANDRA-17891 Fix hintedhandoff_test.py::TestHintedHandoff::test_hintedhandoff_window
- Resolved