Surya Hebbar has uploaded a new patch set (#2). ( 
http://gerrit.cloudera.org:8080/22526 )

Change subject: IMPALA-13787: Compensate for inaccuracies of EC2 instances in 
runtime-profile-test
......................................................................

IMPALA-13787: Compensate for inaccuracies of EC2 instances in 
runtime-profile-test

The resolution of the 'MonotonicStopwatch' is less on some machine
configurations. On some EC2 instances, this can be 1 to 10 milliseconds.

If events are recorded into the event sequence between this 'jiffy',
the relation between the timestamps in the runtime-profile-test do not
hold, as events will be recorded to occur at the same time.

To properly simulate the events, either the test can be adapted to
compensate for inaccuracies or provide higher sleep time between events.

As this does not pose problems to the consistency of the recorded within
the profile JSON, only the sleep timer has been increased for running
tests on such machines.

Change-Id: I8150b7e38e7e5e5294e2dc61c16c2b102032cca2
---
M be/src/util/runtime-profile-test.cc
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/26/22526/2
--
To view, visit http://gerrit.cloudera.org:8080/22526
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I8150b7e38e7e5e5294e2dc61c16c2b102032cca2
Gerrit-Change-Number: 22526
Gerrit-PatchSet: 2
Gerrit-Owner: Surya Hebbar <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>

Reply via email to