-
Notifications
You must be signed in to change notification settings - Fork 16
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
added blocking commands tests #169
added blocking commands tests #169
Conversation
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.
I dont think a single tests justifies having it in a new file, its better to keep them together in the test_cluster_async.rs
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.
To my understanding we are planing to create state restoration at some point, so i thought it is better to create a new file ready to add massive tests when we will have the support. can move back if you think its better.
20a2863
to
36094fd
Compare
|
||
use crate::support::*; | ||
#[tokio::test] | ||
async fn test_blocking_command_when_cluster_drops() { |
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.
why to invent a different logic and form - copy paste and modify:
redis-rs/redis/tests/test_cluster_async.rs
Line 3680 in 4571c91
fn test_async_cluster_reconnect_after_complete_server_disconnect() { |
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.
you can add your test below that one
36094fd
to
500baf2
Compare
7be1859
to
21619e6
Compare
21619e6
to
30350e6
Compare
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.