You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
614 B
25 lines
614 B
2 years ago
|
diff --git a/src/tests/testStoreHashIndex.cc b/src/tests/testStoreHashIndex.cc
|
||
|
index 0564380..fcd60b9 100644
|
||
|
--- a/src/tests/testStoreHashIndex.cc
|
||
|
+++ b/src/tests/testStoreHashIndex.cc
|
||
|
@@ -102,6 +102,8 @@ void commonInit()
|
||
|
if (inited)
|
||
|
return;
|
||
|
|
||
|
+ inited = true;
|
||
|
+
|
||
|
Mem::Init();
|
||
|
|
||
|
Config.Store.avgObjectSize = 1024;
|
||
|
@@ -109,6 +111,10 @@ void commonInit()
|
||
|
Config.Store.objectsPerBucket = 20;
|
||
|
|
||
|
Config.Store.maxObjectSize = 2048;
|
||
|
+
|
||
|
+ Config.memShared.defaultTo(false);
|
||
|
+
|
||
|
+ Config.store_dir_select_algorithm = xstrdup("round-robin");
|
||
|
}
|
||
|
|
||
|
/* TODO make this a cbdata class */
|