Jason Fehr has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/22201


Change subject: IMPALA-13600: Fix Flaky JWT Test
......................................................................

IMPALA-13600: Fix Flaky JWT Test

The custom cluster tests for Impala shell JWT authentication all
contain magic numbers for the expected count of RPCs for the hs2-http
protocol. Thus, any time the rpcs are modified, these tests have the
potential to fail.

Since the JWT tests are focused on all JWT authentications either
succeeding or failing, the actual number of rpcs is not relevant. The
tests now use existing metrics to determine the expected rpc count.
Additionally, the tests use existing metrics to determine when the
assertions can run instead of relying on a sleep statement.

Change-Id: Icf0eebd74e1ce10ad24055b7fab4b1901ce61e03
---
M tests/custom_cluster/test_shell_jwt_auth.py
1 file changed, 43 insertions(+), 23 deletions(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icf0eebd74e1ce10ad24055b7fab4b1901ce61e03
Gerrit-Change-Number: 22201
Gerrit-PatchSet: 1
Gerrit-Owner: Jason Fehr <[email protected]>
Gerrit-Reviewer: Abhishek Rawat <[email protected]>
Gerrit-Reviewer: Andrew Sherman <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Peter Rozsa <[email protected]>
Gerrit-Reviewer: Riza Suminto <[email protected]>

Reply via email to