mirror of
https://github.com/apache/impala.git
synced 2025-12-22 19:35:22 -05:00
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. The modified tests passed locally and in Jenkins. Change-Id: Icf0eebd74e1ce10ad24055b7fab4b1901ce61e03 Reviewed-on: http://gerrit.cloudera.org:8080/22201 Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
9.6 KiB
9.6 KiB