summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/catlfish-test-mergefailover.cfg.in5
-rw-r--r--test/catlfish-test.cfg.in5
-rwxr-xr-xtest/scripts/light-system-test.sh4
-rwxr-xr-xtest/scripts/perf-test.sh4
4 files changed, 14 insertions, 4 deletions
diff --git a/test/catlfish-test-mergefailover.cfg.in b/test/catlfish-test-mergefailover.cfg.in
index 2e2cd1a..7f0fbcb 100644
--- a/test/catlfish-test-mergefailover.cfg.in
+++ b/test/catlfish-test-mergefailover.cfg.in
@@ -38,3 +38,8 @@ backup-quorum-size: 1
storage-quorum-size: 1
mmd: 86400
+
+statsservers:
+ - name: statsserver
+ address: localhost:9081
+ publicaddress: localhost:9082
diff --git a/test/catlfish-test.cfg.in b/test/catlfish-test.cfg.in
index c3b59b0..18724e8 100644
--- a/test/catlfish-test.cfg.in
+++ b/test/catlfish-test.cfg.in
@@ -38,3 +38,8 @@ backup-quorum-size: 1
storage-quorum-size: 1
mmd: 86400
+
+statsservers:
+ - name: statsserver
+ address: localhost:9081
+ publicaddress: localhost:9082
diff --git a/test/scripts/light-system-test.sh b/test/scripts/light-system-test.sh
index 69eb5c7..da91929 100755
--- a/test/scripts/light-system-test.sh
+++ b/test/scripts/light-system-test.sh
@@ -18,11 +18,11 @@ tests_stop() {
}
tests_stop_all() {
- ${SCRIPTS}/light-system-test-stop.sh mergeprimary mergesecondary frontend signing
+ ${SCRIPTS}/light-system-test-stop.sh mergeprimary mergesecondary frontend signing statsserver
}
${SCRIPTS}/light-system-test-prepare.sh
-tests_start signing
+tests_start statsserver signing
tests_start merge_2only frontendexceptlast
${top_srcdir}/tools/initlog.py --config machine/merge-1/catlfish-test.cfg --localconfig machine/merge-1/catlfish-test-local-merge-1.cfg
tests_start mergeprimary
diff --git a/test/scripts/perf-test.sh b/test/scripts/perf-test.sh
index 085de14..0d6daa3 100755
--- a/test/scripts/perf-test.sh
+++ b/test/scripts/perf-test.sh
@@ -18,7 +18,7 @@ tests_stop() {
}
tests_stop_all() {
- ${SCRIPTS}/light-system-test-stop.sh mergeprimary mergesecondary frontend signing
+ ${SCRIPTS}/light-system-test-stop.sh mergeprimary mergesecondary frontend signing statsserver
}
${SCRIPTS}/light-system-test-prepare.sh
@@ -26,7 +26,7 @@ ${top_srcdir}/tools/initlog.py --config machine/merge-1/catlfish-test.cfg --loca
cp ${top_srcdir}/test/known_roots/* known_roots
-tests_start signing
+tests_start signing statsserver
tests_start merge_2only frontendexceptlast mergeprimary
do_merge 0