Quanlong Huang has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/18533


Change subject: IMPALA-11295: deflake TestParquet.test_multiple_blocks_mt_dop
......................................................................

IMPALA-11295: deflake TestParquet.test_multiple_blocks_mt_dop

TestParquet.test_multiple_blocks_mt_dop runs a query on 6 scan ranges
using mt_dop=2. It then verifies the sum of ranges read on a backend is
2 (6/3). The test assumes that counters of the 2 instances on the same
host are printed consecutively. However, this is not always true. They
could be interleaving.

This patch makes the test more robust by grouping the counters based on
the host.

Test
 - I can't reproduce the issue locally. But I'm able to run the new test
   100 times without any error.

Change-Id: I16c576c41a212f83dda82a83931ab336a78a41e4
---
M tests/query_test/test_scanners.py
1 file changed, 11 insertions(+), 4 deletions(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I16c576c41a212f83dda82a83931ab336a78a41e4
Gerrit-Change-Number: 18533
Gerrit-PatchSet: 1
Gerrit-Owner: Quanlong Huang <huangquanl...@gmail.com>

Reply via email to