Impala Public Jenkins has submitted this change and it was merged. ( 
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
Reviewed-on: http://gerrit.cloudera.org:8080/22526
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
---
M be/src/util/runtime-profile-test.cc
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Impala Public Jenkins: Looks good to me, approved; Verified

--
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: merged
Gerrit-Change-Id: I8150b7e38e7e5e5294e2dc61c16c2b102032cca2
Gerrit-Change-Number: 22526
Gerrit-PatchSet: 4
Gerrit-Owner: Surya Hebbar <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Laszlo Gaal <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Riza Suminto <[email protected]>
Gerrit-Reviewer: Surya Hebbar <[email protected]>

Reply via email to