Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-2578

Add ability for tests to override server-side timestamp setting (currentTimeMillis)

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.90.0
    • Component/s: None
    • Labels:
      None

      Description

      Many of our tests use client APIs which do not set explicit stamps. This creates weird timing issues with tests running on different systems because sometimes a set of operations happens in the same millisecond and other times they do not.

      We should have a way for a test to specify it's own way of generating the timestamps (for example, could always increment by 1 ensuring forward progression in time).

        Attachments

        1. HBASE-2578.txt
          16 kB
          Daniel Ploeg
        2. HBASE-2578_take2.txt
          24 kB
          Daniel Ploeg
        3. HBASE-2578_final.txt
          27 kB
          Daniel Ploeg

          Activity

            People

            • Assignee:
              dploeg Daniel Ploeg
              Reporter:
              streamy Jonathan Gray
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: