summaryrefslogtreecommitdiff
path: root/test/swarmkv_gtest.cpp
diff options
context:
space:
mode:
authorchenzizhan <[email protected]>2024-09-14 18:36:35 +0800
committerchenzizhan <[email protected]>2024-09-14 18:36:35 +0800
commit11cf5e4035c5002acb7023f233678ede0cb63beb (patch)
treeabae5c780d6101532564ea98784a28cf69493613 /test/swarmkv_gtest.cpp
parent1667169949f2aacd9e36cb191fce3e492443568b (diff)
fix error in spread sketch test
Diffstat (limited to 'test/swarmkv_gtest.cpp')
-rw-r--r--test/swarmkv_gtest.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/swarmkv_gtest.cpp b/test/swarmkv_gtest.cpp
index 033eeff..eff3446 100644
--- a/test/swarmkv_gtest.cpp
+++ b/test/swarmkv_gtest.cpp
@@ -2152,7 +2152,7 @@ TEST_F(SwarmkvTwoNodes, TypeSpreadSketch)
int n_entry = sizeof(entries)/sizeof(entries[0]);
int n_loop = 10000;
- reply=swarmkv_command(db[0], "SSINITBYCAPACITY %s 5", key);
+ reply=swarmkv_command(db[0], "SSINITBYCAPACITY %s 5 6", key);
ASSERT_EQ(reply->type, SWARMKV_REPLY_STATUS);
EXPECT_STREQ(reply->str, "OK");
swarmkv_reply_free(reply);
@@ -2540,8 +2540,6 @@ int main(int argc, char ** argv)
int ret=0;
g_current_thread_id=syscall(SYS_gettid);
::testing::InitGoogleTest(&argc, argv);
- // ::testing::GTEST_FLAG(filter) = "-*.TypeSS";
- // ::testing::GTEST_FLAG(filter) = "SwarmkvTwoNodes.TypeSS";
ret=RUN_ALL_TESTS();
return ret;
}