Dan Kenigsberg has submitted this change and it was merged.

Change subject: functional tests: fix supervdsmServer test
......................................................................


functional tests: fix supervdsmServer test

supervdsmServer dropPrivileges function is switching root user to
a non privileged user but not switching the user back to root. It causes
other tests which require root user to fail.
this patch runs the tests in a child process so there's no affect on the
parent process.

Change-Id: I8c7e381809261cf330ef4f19c3fec5cd38254b1b
Signed-off-by: Irit Goihman <igoih...@redhat.com>
Reviewed-on: https://gerrit.ovirt.org/61902
Continuous-Integration: Jenkins CI
Reviewed-by: Yaniv Bronhaim <ybron...@redhat.com>
Reviewed-by: Nir Soffer <nsof...@redhat.com>
Reviewed-by: Piotr Kliczewski <piotr.kliczew...@gmail.com>
---
M tests/functional/supervdsmFuncTests.py
1 file changed, 9 insertions(+), 5 deletions(-)

Approvals:
  Piotr Kliczewski: Looks good to me, but someone else must approve
  Nir Soffer: Looks good to me, approved
  Yaniv Bronhaim: Looks good to me, but someone else must approve
  Jenkins CI: Passed CI tests
  Irit Goihman: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I8c7e381809261cf330ef4f19c3fec5cd38254b1b
Gerrit-PatchSet: 20
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Irit Goihman <igoih...@redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <dan...@redhat.com>
Gerrit-Reviewer: Irit Goihman <igoih...@redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Nir Soffer <nsof...@redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczew...@gmail.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybron...@redhat.com>
Gerrit-Reviewer: gerrit-hooks <automat...@ovirt.org>
_______________________________________________
vdsm-patches mailing list -- vdsm-patches@lists.fedorahosted.org
To unsubscribe send an email to vdsm-patches-le...@lists.fedorahosted.org

Reply via email to