Pooja Nilangekar has uploaded this change for review. ( http://gerrit.cloudera.org:8080/12216
Change subject: IMPALA-8007: Fix test_slow_subscriber ...................................................................... IMPALA-8007: Fix test_slow_subscriber Previously, test_slow_subscriber verified a slow subscriber by checking for a precise time window since the last heartbeat. This was non-deterministic since sleep duration in python depends on the machine's workload. This change makes it deterministic by checking for an increase in the time since last heartbeat. Testing: Executed the test 1000 times in a loop. Change-Id: Ibeed543a145076cd11d5d0e441a257111a66497d --- M tests/statestore/test_statestore.py 1 file changed, 24 insertions(+), 14 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/16/12216/1 -- To view, visit http://gerrit.cloudera.org:8080/12216 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ibeed543a145076cd11d5d0e441a257111a66497d Gerrit-Change-Number: 12216 Gerrit-PatchSet: 1 Gerrit-Owner: Pooja Nilangekar <[email protected]>
