From 30ea9cb37e27d61c4146a4381d9ac59c84b71109 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Mon, 12 May 2014 20:48:13 -0300 Subject: [PATCH] Use rest/shutdown to stop --- integration/test.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/integration/test.sh b/integration/test.sh index c04526b67..3f69d30ec 100755 --- a/integration/test.sh +++ b/integration/test.sh @@ -1,7 +1,5 @@ #!/bin/bash -export STNORESTART=1 - iterations=${1:-5} id1=I6KAH7666SLLL5PFXSOAUFJCDZYAOMLEKCP2GB3BV5RQST3PSROA @@ -137,4 +135,6 @@ for ((t = 1; t <= $iterations; t++)) ; do testConvergence done -pkill syncthing +for i in 1 2 3 4 ; do + curl -X POST "http://localhost:808$i/rest/shutdown" +done