]> xenbits.xensource.com Git - people/liuw/osstest.git/commitdiff
start/stop the guest 10 times in the standard test jobs
authorIan Campbell <ian.campbell@citrix.com>
Wed, 11 Mar 2015 10:08:57 +0000 (10:08 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 31 Mar 2015 12:32:04 +0000 (13:32 +0100)
The recent libvirt failures seemed to happen after a couple of
stop/start pairs, so arrange to start/stop each guest 10 times.

By cribbing from the existing use of repeat-ts I hope I've arranged
for a new test with testid ts-guest-start/debian.repeat.

We already arrange by more adhoc means to repeat a localhost migration
10 times.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
sg-run-job

index a1ff24bf6a32b4e6669500babd75a2ea4e4e4fa3..f2c70cfb982074f87db377af950afa1d1b513def 100755 (executable)
@@ -315,6 +315,11 @@ proc test-guest {g} {
 proc test-guest-nomigr {g} {
     run-ts . =   ts-guest-stop    + host $g
     run-ts . =.2 ts-guest-start   + host $g
+
+    repeat-ts 10 =.repeat \
+               + ts-guest-stop    host   $g \; \
+               + ts-guest-start + host + $g +
+
     run-ts . =   ts-guest-destroy + host $g
 }