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

ClientRequestSizeMetricsTest is flaky

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 4.0-rc1, 4.0
    • Test/unit
    • None

    Description

      I don't know if it was reported but we can see it fail sometimes.

      The reason is that it checks the metrics before issuing and query and after. It expects that the executed operation between subsequent metrics checks is the only operation during that time. However the driver sometimes may refresh the schema in the middle and pollute the results. It is perfectly enough to slow down the execution a bit and the test starts to fail consistently rather than sporadically because we always hit schema refresh.

      Patch at https://github.com/apache/cassandra/pull/930

      Attachments

        Activity

          People

            jlewandowski Jacek Lewandowski
            jlewandowski Jacek Lewandowski
            Jacek Lewandowski
            Andres de la Peña, Benjamin Lerer, Jeremiah Jordan, Michael Semb Wever
            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 - 2.5h
                2.5h