Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14827

Allow StopWatch to accept a Timer parameter for tests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-beta1, 2.8.3, 2.7.5
    • common, test
    • None
    • Reviewed

    Description

      StopWatch should optionally accept a Timer parameter rather than directly using Time so that its behavior can be controlled during tests.

      Attachments

        1. HADOOP-14827.000.patch
          2 kB
          Erik Krogen

        Issue Links

          Activity

            People

              xkrogen Erik Krogen
              xkrogen Erik Krogen
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: