Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-6835

Flakey RowTimestampIT.testAutomaticallySettingRowTimestampWithDate

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.2.0, 5.1.3
    • 5.2.0, 5.1.3
    • None

    Description

      On fast machines, the check sometimes seems to fail because we're still in the same millisecond.

      org.apache.phoenix.end2end.RowTimestampIT.testAutomaticallySettingRowTimestampWithDate[RowTimestampIT_mutable=true,ascending=true]  Time elapsed: 2.122 s  <<< FAILURE!
      java.lang.AssertionError
          at org.junit.Assert.fail(Assert.java:87)
          at org.junit.Assert.assertTrue(Assert.java:42)
          at org.junit.Assert.assertTrue(Assert.java:53)
          at org.apache.phoenix.end2end.RowTimestampIT.automaticallySettingRowTimestampForImmutableTableAndIndexes(RowTimestampIT.java:270)
      ...

      Attachments

        Issue Links

          Activity

            People

              stoty Istvan Toth
              stoty Istvan Toth
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: