Skip to content

Commit ca993ea

Browse files
committed
redis-rs#436: Use old "slaveof" command for compatibility with Windows CI build
1 parent a3b601e commit ca993ea

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/test_async.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ fn test_pipeline_transaction_with_errors() {
108108
let _: () = con.set("x", 42).await.unwrap();
109109

110110
// Make Redis a replica of a nonexistent master, thereby making it read-only.
111-
let _: () = redis::cmd("replicaof")
111+
let _: () = redis::cmd("slaveof")
112112
.arg("1.1.1.1")
113113
.arg("1")
114114
.query_async(&mut con)

tests/test_basic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ fn test_pipeline_transaction_with_errors() {
309309
let _: () = con.set("x", 42).unwrap();
310310

311311
// Make Redis a replica of a nonexistent master, thereby making it read-only.
312-
let _: () = redis::cmd("replicaof")
312+
let _: () = redis::cmd("slaveof")
313313
.arg("1.1.1.1")
314314
.arg("1")
315315
.query(&mut con)

0 commit comments

Comments
 (0)