Ensure tests that rely on WaitForLeader instead use WaitForTestAgent
Open
theme/testing
- Dominant language
- Go
- Stars
- 30.1k
- Forks
- 4.6k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 43
Description
When we call WaitForLeader immediately after starting a new test agent, following up with service/node/check registrations can fail as the agent can accept requests before the node is registered in the catalog.
In these cases, WaitForLeader must be replaced with WaitForTestAgent.
Contributor guide
Assessment
This issue has not been assessed yet.