Yaniv Bronhaim has uploaded a new change for review.

Change subject: testRegeneration of remoteFileHandler fails when running all 
tests
......................................................................

testRegeneration of remoteFileHandler fails when running all tests

It happens when timeout is raised when calling to testEcho (we expect to
normal result), this happens because handlers were full with testTimeout
requests. This patch split the calls, and test the same issue.

When all file handlers are done working, we release them and allow other
handlers to start.

Change-Id: I35ae1258d01455ad2fe131cd17bc3dff89224c1b
Signed-off-by: Yaniv Bronhaim <[email protected]>
---
M tests/remoteFileHandlerTests.py
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/12/9412/1

diff --git a/tests/remoteFileHandlerTests.py b/tests/remoteFileHandlerTests.py
index 9508536..6c9233e 100644
--- a/tests/remoteFileHandlerTests.py
+++ b/tests/remoteFileHandlerTests.py
@@ -51,6 +51,7 @@
         the requests"""
         for i in range(HANDLERS_NUM * 2):
             self.testTimeout()
+        for i in range(HANDLERS_NUM):
             self.testEcho()
 
     def tearDown(self):


--
To view, visit http://gerrit.ovirt.org/9412
To unsubscribe, visit http://gerrit.ovirt.org/settings

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

Reply via email to