summaryrefslogtreecommitdiff
path: root/test/swarmkv_scalability_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/swarmkv_scalability_test.cpp')
-rw-r--r--test/swarmkv_scalability_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/swarmkv_scalability_test.cpp b/test/swarmkv_scalability_test.cpp
index 35f1505..75deb06 100644
--- a/test/swarmkv_scalability_test.cpp
+++ b/test/swarmkv_scalability_test.cpp
@@ -169,11 +169,11 @@ TEST(Scalability, MultiThreads)
const char *cluster_name="demo";
struct swarmkv_options *opts=swarmkv_options_new();
swarmkv_options_set_dryrun(opts);
- swarmkv_options_set_p2p_port(opts, 5212);
+ swarmkv_options_set_cluster_port(opts, 5212);
swarmkv_options_set_health_check_port(opts, 6212);
swarmkv_options_set_logger(opts, logger);
swarmkv_options_set_worker_thread_number(opts, 2);
- swarmkv_options_set_p2p_timeout_us(opts, 500*1000);
+ swarmkv_options_set_cluster_timeout_us(opts, 500*1000);
struct swarmkv *db=swarmkv_open(opts, cluster_name, &err);
if(err)
{