suxiaogang223 opened a new pull request, #71343:
URL: https://github.com/apache/doris/pull/71343
### What problem does this PR solve?
Issue Number: None
Related PR: #71272
Problem Summary:
Backport #71272 to branch-4.1. Two FE unit tests relied on fixed
sleeps to observe asynchronous cache or catalog refresh work.
Wait for the expected catalog state and control the cache loader's
completion so the assertions are independent of runner scheduling.
### Release note
None.
### Check List (For Author)
- Test
- [x] Manual test. Verified patch equivalence to the master commit and
ran FE Checkstyle on branch-4.1.
- Behavior changed:
- [x] No.
- Does this need documentation?
- [x] No.
The original PR passed all eight tests in `CacheFactoryTest` and
`RefreshCatalogTest` on master. On branch-4.1, the FE unit tests
remain to be run by CI.
### Check List (For Reviewer who merge this PR)
- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label
### AI Disclosure
- Tool: OpenAI Codex (GPT-6)
- Generated: Backport PR description and verification steps. The source
patch is unchanged.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]