Francesco Romani has uploaded a new change for review.

Change subject: tests: proper cleanup in periodic tests
......................................................................

tests: proper cleanup in periodic tests

Make sure to wait for all the threads in periodicTests.tearDown, to
avoid concurrent operations and unreliable test results.

Change-Id: If07198bb368f79ace4b944612c71ee135c4458de
Signed-off-by: Francesco Romani <[email protected]>
---
M tests/periodicTests.py
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/49/47249/1

diff --git a/tests/periodicTests.py b/tests/periodicTests.py
index ce4d592..87e46db 100644
--- a/tests/periodicTests.py
+++ b/tests/periodicTests.py
@@ -55,10 +55,10 @@
         self.exc.start()
 
     def tearDown(self):
-        self.exc.stop(wait=False)
+        self.exc.stop()
         self.exc = None
 
-        self.sched.stop(wait=False)
+        self.sched.stop()
         self.sched = None
 
     def test_start(self):


-- 
To view, visit https://gerrit.ovirt.org/47249
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If07198bb368f79ace4b944612c71ee135c4458de
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to