Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HIVE-25250: Fix TestHS2ImpersonationWithRemoteMS.testImpersonation #2404

Merged
merged 2 commits into from Jun 29, 2021

Conversation

ashish-kumar-sharma
Copy link
Contributor

@ashish-kumar-sharma ashish-kumar-sharma commented Jun 17, 2021

What changes were proposed in this pull request?

Fix flaky test TestHS2ImpersonationWithRemoteMS.testImpersonation. It was already fixed as part of HIVE-25093 but that is not the right way to do. Raising the PR again to create separate patch.

Why are the changes needed?

It is failing intermittently and putting unwanted pressure on hive-precommit setup.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Yes

@ashish-kumar-sharma
Copy link
Contributor Author

ashish-kumar-sharma commented Jun 23, 2021

@kgyrtkirk Could you please review the PR?

@kgyrtkirk
Copy link
Member

please run a flaky check on your changes to prove that it fixes the issue
http://ci.hive.apache.org/job/hive-flaky-check/235/

@ashish-kumar-sharma
Copy link
Contributor Author

@kgyrtkirk

Thanks for pointing to flaky check pipeline. I ran and got the green build there

http://ci.hive.apache.org/job/hive-flaky-check/269/

Please review and merge the PR.

@kgyrtkirk
Copy link
Member

I'm a little bit amazed that changing the default maxRetries fixes the issue - could you please give some details about it; I'm really interested :)
+1

@ashish-kumar-sharma
Copy link
Contributor Author

@kgyrtkirk completely aligned with you. So I have reverted the change and fix the test by adding retires with in the test cases.

Got green build in flaky test also
http://ci.hive.apache.org/job/hive-flaky-check/270/

@kgyrtkirk
Copy link
Member

thank you!

@ashish-kumar-sharma
Copy link
Contributor Author

@kgyrtkirk Could you please merge the PR?

@sankarh sankarh merged commit dc8891e into apache:master Jun 29, 2021
dengzhhu653 pushed a commit to dengzhhu653/hive that referenced this pull request Dec 15, 2022
…hish Sharma, reviewed by Zoltan Haindrich)

Signed-off-by: Sankar Hariappan <sankarh@apache.org>
Closes (apache#2404)
amanraj2520 added a commit to amanraj2520/hive that referenced this pull request Dec 18, 2022
…hish Sharma, reviewed by Zoltan Haindrich)

Signed-off-by: Sankar Hariappan <sankarh@apache.org>
Closes (apache#2404)

(cherry picked from commit dc8891e)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants