[FlakyTest] schedule credentials renewal retry when failed
- Dominant language
- Scala
- Stars
- 2.4k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
### Search before asking
- [X] I have searched in the [issues](https://github.com/apache/incubator-kyuubi/issues?q=is%3Aissue) and found no similar issues.
### Describe the bug
HadoopCredentialsManagerSuite:
- schedule credentials renewal retry when failed *** FAILED ***
The code passed to eventually never returned normally. Attempted 31 times over 2.115448877 seconds. Last failure message: 2 did not equal 3. (HadoopCredentialsManagerSuite.scala:128)
### Affects Version(s)
1.6.0
### Kyuubi Server Log Output
_No response_
### Kyuubi Engine Log Output
_No response_
### Kyuubi Server Configurations
_No response_
### Kyuubi Engine Configurations
_No response_
### Additional context
_No response_
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
Contributor guide
Research direction
Start with HadoopCredentialsManagerSuite.scala around line 128 and run the failing suite to reproduce the intermittent retry assertion. Trace the credentials renewal retry behavior and make the test reliably observe the expected third attempt; done means the suite passes consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- hadoop, scala
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100