Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
users-mgmt-test: replace sleep with require.Eventually
Currently, the users management test uses a "sleep" with an hard-coded (low) duration to wait for the update events to be triggered after a file update. To improve reliability, let's switch to use the Eventually helper, hence retrying multiple times until the condition is satisfied, rather than waiting for a fixed amount of time. Fixes: 60f94e4 ("clustermesh-apiserver: implement users management for remote clusters") Signed-off-by: Marco Iorio <marco.iorio@isovalent.com>
- Loading branch information