From d258a6e76b3ae1c090027164a15cba9ccadb20a8 Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Mon, 8 May 2023 20:37:03 +0300 Subject: [PATCH] Add --restart_interval to tests --- tests/run_3osds.sh | 2 +- tests/test_failure_domain.sh | 2 +- tests/test_vm_cont.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/run_3osds.sh b/tests/run_3osds.sh index ba37e0aa..a0326783 100644 --- a/tests/run_3osds.sh +++ b/tests/run_3osds.sh @@ -39,7 +39,7 @@ done cd mon npm install cd .. -node mon/mon-main.js --etcd_url $ETCD_URL --etcd_prefix "/vitastor" --verbose 1 &>./testdata/mon.log & +node mon/mon-main.js --etcd_url $ETCD_URL --etcd_prefix "/vitastor" --verbose 1 --restart_interval 5 &>./testdata/mon.log & MON_PID=$! if [ "$SCHEME" = "ec" ]; then diff --git a/tests/test_failure_domain.sh b/tests/test_failure_domain.sh index 8432b176..339d9e35 100755 --- a/tests/test_failure_domain.sh +++ b/tests/test_failure_domain.sh @@ -18,7 +18,7 @@ $ETCDCTL put /vitastor/config/pools '{"1":{"name":"testpool","scheme":"replicate cd mon npm install cd .. -node mon/mon-main.js --etcd_url $ETCD_URL --etcd_prefix "/vitastor" &>./testdata/mon.log & +node mon/mon-main.js --etcd_url $ETCD_URL --etcd_prefix "/vitastor" --verbose 1 --restart_interval 5 &>./testdata/mon.log & MON_PID=$! sleep 2 diff --git a/tests/test_vm_cont.sh b/tests/test_vm_cont.sh index fdded344..e6844e10 100755 --- a/tests/test_vm_cont.sh +++ b/tests/test_vm_cont.sh @@ -14,7 +14,7 @@ for i in $(seq 1 $OSD_COUNT); do eval OSD${i}_PID=$! done -node mon/mon-main.js --etcd_url $ETCD_URL --etcd_prefix "/vitastor" &>./testdata/mon.log & +node mon/mon-main.js --etcd_url $ETCD_URL --etcd_prefix "/vitastor" --verbose 1 --restart_interval 5 &>./testdata/mon.log & MON_PID=$! sleep 3