RDMA: use protected mode for test (#1124)
Since a7cbca40661 ("RDMA: Support .is_local method (#1089)"), valkey-server started to support auto-detect local connection, then we can use protected mode for local RDMA device for test. Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
This commit is contained in:
parent
c8aaceed46
commit
23ae21244e
@ -61,7 +61,7 @@ def test_rdma(ipaddr):
|
|||||||
# step 2, start server
|
# step 2, start server
|
||||||
svrpath = valkeydir + "/src/valkey-server"
|
svrpath = valkeydir + "/src/valkey-server"
|
||||||
rdmapath = valkeydir + "/src/valkey-rdma.so"
|
rdmapath = valkeydir + "/src/valkey-rdma.so"
|
||||||
svrcmd = [svrpath, "--port", "0", "--loglevel", "verbose", "--protected-mode", "no",
|
svrcmd = [svrpath, "--port", "0", "--loglevel", "verbose", "--protected-mode", "yes",
|
||||||
"--appendonly", "no", "--daemonize", "no", "--dir", valkeydir + "/tests/rdma/tmp",
|
"--appendonly", "no", "--daemonize", "no", "--dir", valkeydir + "/tests/rdma/tmp",
|
||||||
"--loadmodule", rdmapath, "port=6379", "bind=" + ipaddr]
|
"--loadmodule", rdmapath, "port=6379", "bind=" + ipaddr]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user