Dan Kenigsberg has submitted this change and it was merged.

Change subject: configNetTests: add testPersistentBackup
......................................................................


configNetTests: add testPersistentBackup

The tested configNetwork.ConfigWriter._pesrsistentBackup is restored by
the vdsm-restore-net-config script. This patch changes the script to
make it more easily testable: environment variables
NET_CONF_DIR and NET_CONF_BACK_DIR are honored if passed to the script.
--skip-net-restart avoids attempting to change the network configuration
on the tested host.

Change-Id: Ie9f3d10c052507821aeeb469b940e1cb5d50c72d
Signed-off-by: Dan Kenigsberg <[email protected]>
---
M tests/configNetworkTests.py
M vdsm/vdsm-restore-net-config.in
2 files changed, 33 insertions(+), 6 deletions(-)

Approvals:
  Dan Kenigsberg: Verified; Looks good to me, approved
  Igor Lvovsky: Looks good to me, but someone else must approve


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie9f3d10c052507821aeeb469b940e1cb5d50c72d
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Antoni Segura Puimedon <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Igor Lvovsky <[email protected]>
Gerrit-Reviewer: Livnat Peer <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to