-
Notifications
You must be signed in to change notification settings - Fork 1
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
Feature dummy scan #8
base: Feature-dummyScan
Are you sure you want to change the base?
Conversation
…lated methods Signed-off-by: avifenesh <[email protected]>
…ate tests Python binding Signed-off-by: avifenesh <[email protected]>
…de failures Signed-off-by: avifenesh <[email protected]>
Signed-off-by: avifenesh <[email protected]>
Added test cases to verify cluster scan behavior with DELSLOTS command: - test_async_cluster_scan_with_few_delslots: Tests scanning with some slots deleted - test_async_cluster_scan_with_all_delslots: Tests scanning with all slots deleted Signed-off-by: jhpung <[email protected]>
d9cb45b
to
03b62aa
Compare
keys.dedup(); | ||
expected_keys.sort(); | ||
expected_keys.dedup(); | ||
assert_eq!(keys, expected_keys); |
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.
That's may or may not pass, deleting slots means deleting their keys, that's meaning the key you expect may not be there.
) | ||
.await; | ||
|
||
assert!(delslots_res.is_ok()); |
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.
Should validate that slots are actually missing and there's uncovered slots.
println!("keys: {:?}", keys); | ||
expected_keys.sort(); | ||
expected_keys.dedup(); | ||
assert_eq!(keys, expected_keys); |
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.
If you delete all the slots in it worked, the cluster should be empty if im not mistaking, so something is not working here.
ae43c7f
to
1ba71e5
Compare
Issue link
This Pull Request is linked to issue (URL): [REPLACE ME]
Checklist
Before submitting the PR make sure the following are checked: