Alon Bar-Lev has uploaded a new change for review.
Change subject: test: skip configNetworkTests.py::testPersistentBackup if not root or vdsm
user absent
......................................................................
test: skip configNetworkTests.py::testPersistentBackup if not root or vdsm user absent
The tested module vdsm/configNetwork.py is trying to chown files to vdsm
user, if user is not available the test fails.
This change makes configNetworkTests.py::testPersistentBackup be
skipped if not root running test, as it won't be able to chown or
if vdsm user is absent as pwd.getpwnam will fail.
Change-Id: Ia5e3a2ce6616f6313363079ad24fd62f86504071
Signed-off-by: Alon Bar-Lev <alonbl(a)redhat.com>
---
M tests/configNetworkTests.py
1 file changed, 10 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/92/6492/1
--
To view, visit
http://gerrit.ovirt.org/6492
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia5e3a2ce6616f6313363079ad24fd62f86504071
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alonbl(a)redhat.com>