Michael Smith has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/21497


Change subject: IMPALA-13151: Use MonotonicNanos to track test time
......................................................................

IMPALA-13151: Use MonotonicNanos to track test time

Uses MonotonicNanos to track test time rather than MonotonicStopWatch.
IMPALA-2407 updated MonotonicStopWatch to use a low-precision
implementation for performance, which on ARM in particular sometimes
results in undercounting time by a few microseconds. That's enough to
cause a failure in DataStreamTestSlowServiceQueue.TestPrioritizeEos.

Also uses SleepForMs and NANOS_PER_SEC rather than Kudu versions to
better match Impala code base.

Reproduced on ARM and tested the new implementation for several dozen
runs without failure.

Change-Id: I9beb63669c5bdd910e5f713ecd42551841e95400
---
M be/src/runtime/data-stream-test.cc
1 file changed, 11 insertions(+), 21 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/97/21497/1
--
To view, visit http://gerrit.cloudera.org:8080/21497
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9beb63669c5bdd910e5f713ecd42551841e95400
Gerrit-Change-Number: 21497
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Smith <[email protected]>

Reply via email to