Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-4480 Fix IT test failures when statistics enabled.
  3. PHOENIX-4478

Fix IT tests failing with stats and transactions together

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 5.0.0-alpha
    • None

    Description

      There are tests failing to with stats and transactions where the update stats is not generating required guideposts the tests passing without transactions.

      [ERROR] testSaltedUpdatableViewWithIndex[transactional = true](org.apache.phoenix.end2end.SaltedViewIT)  Time elapsed: 5.708 s  <<< FAILURE!
      java.lang.AssertionError: expected:<8> but was:<4>
      	at org.apache.phoenix.end2end.SaltedViewIT.testSaltedUpdatableViewWithIndex(SaltedViewIT.java:38)
      
      [ERROR] testSaltedUpdatableViewWithLocalIndex[transactional = true](org.apache.phoenix.end2end.SaltedViewIT)  Time elapsed: 9.624 s  <<< FAILURE!
      java.lang.AssertionError: expected:<8> but was:<4>
      	at org.apache.phoenix.end2end.SaltedViewIT.testSaltedUpdatableViewWithLocalIndex(SaltedViewIT.java:43)
      
      [ERROR] testNonSaltedUpdatableViewWithLocalIndex[transactional = true](org.apache.phoenix.end2end.ViewIT)  Time elapsed: 9.566 s  <<< FAILURE!
      java.lang.AssertionError: expected:<6> but was:<2>
      	at org.apache.phoenix.end2end.ViewIT.testNonSaltedUpdatableViewWithLocalIndex(ViewIT.java:139)
      
      [ERROR] testNonSaltedUpdatableViewWithIndex[transactional = true](org.apache.phoenix.end2end.ViewIT)  Time elapsed: 4.552 s  <<< FAILURE!
      java.lang.AssertionError: expected:<6> but was:<2>
      	at org.apache.phoenix.end2end.ViewIT.testNonSaltedUpdatableViewWithIndex(ViewIT.java:134)
      

      Attachments

        Activity

          People

            ankit@apache.org Ankit Singhal
            rajeshbabu Rajeshbabu Chintaguntla
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: