Saggi Mizrahi has uploaded a new change for review. Change subject: [WIP] Try and fix failing test ......................................................................
[WIP] Try and fix failing test Change-Id: Id74dcc975d48ba6d7ee18c7f4154523f08e64245 Signed-off-by: Saggi Mizrahi <[email protected]> --- M tests/miscTests.py 1 file changed, 3 insertions(+), 3 deletions(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/39/9039/1 diff --git a/tests/miscTests.py b/tests/miscTests.py index f9110b8..b3e3798 100644 --- a/tests/miscTests.py +++ b/tests/miscTests.py @@ -75,10 +75,10 @@ @brokentest('Test sometimes fail, when misc.getCmdArgs() returns ' 'the empty tuple right after process creation') def test(self): - args = ("sleep", "4") + args = ["sleep", "4"] sproc = misc.execCmd(args, sync=False, sudo=False) - self.assertEquals(misc.getCmdArgs(sproc.pid), args) - sproc.kill() + self.assertEqauls(sproc.poll(), None) + self.assertEquals(misc.getCmdArgs(sproc.pid), tuple(args)) sproc.wait() -- To view, visit http://gerrit.ovirt.org/9039 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Id74dcc975d48ba6d7ee18c7f4154523f08e64245 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Saggi Mizrahi <[email protected]> _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
