-
Notifications
You must be signed in to change notification settings - Fork 750
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
[metasrv] Fix flaky test #6242 #6248
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Thanks for the contribution! Please review the labels and make any necessary changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most LGTM with some optional style-related suggestions.
@Xuanwo The other Indeed it will be better to use a sleep-check for-loop here at line 413 @ariesdevil : tokio::time::sleep(Duration::from_secs(15)).await;
let res = client.get_endpoints().await?;
let res: HashSet<String> = HashSet::from_iter(res.into_iter());
assert!(
res.contains(&addr3),
"endpoints should contains new addr when add node"
); |
Thanks for the explanation! |
@Mergifyio update |
✅ Branch has been successfully updated |
Waiting for test_stateless_standalone_linux |
no runner quq... |
I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/
Summary
Fix flaky test #6242
Changelog
Related Issues
Fixes #6242