Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-16892

Fix flakiness in upgrade_tests/thrift_upgrade_test.py in dtests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • NA
    • Test/dtest/python
    • None

    Description

      I noticed that tests for dtest in upgrade_tests/thrift_upgrade_test.py are flaky.

      The reason this flakiness happens is that we are stopping and starting a node too fast without waiting for its full initialisation and then next attempt to connect to rpc port fails and whole test fails.

      The fix is rather easy, we just need to wait until it is full started.

      Attachments

        Activity

          People

            stefan.miklosovic Stefan Miklosovic
            stefan.miklosovic Stefan Miklosovic
            Stefan Miklosovic
            Benjamin Lerer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m