summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--storageserver/src/tests/testhelper.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/storageserver/src/tests/testhelper.cpp b/storageserver/src/tests/testhelper.cpp
index b245a6500bd..5e6a71b078f 100644
--- a/storageserver/src/tests/testhelper.cpp
+++ b/storageserver/src/tests/testhelper.cpp
@@ -96,7 +96,11 @@ vdstestlib::DirConfig getStandardConfig(bool storagenode) {
// By default, need "old" behaviour of maxconcurrent
config->set("maxconcurrentvisitors_fixed", "4");
config->set("maxconcurrentvisitors_variable", "0");
- config = &dc.addConfig("stor-visitordispatcher");
+ dc.addConfig("stor-visitordispatcher");
+ config = &dc.addConfig("bucketspaces");
+ config->set("documenttype[1]");
+ config->set("documenttype[0].name", "testdoctype1");
+ config->set("documenttype[0].bucketspace", "default");
addFileConfig(dc, "documenttypes", "config-doctypes.cfg");
addStorageDistributionConfig(dc);
return dc;