Dan Kenigsberg has uploaded a new change for review. Change subject: storageMailboxTests: fix for f18 ......................................................................
storageMailboxTests: fix for f18 Use /var/tmp (which is usually storage-based and has O_DIRECT) as tempdir. Change-Id: I2caacba292fc05118542ba3636281ef4970e32d4 Signed-off-by: Dan Kenigsberg <[email protected]> --- M tests/storageMailboxTests.py 1 file changed, 10 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/25/10225/1 diff --git a/tests/storageMailboxTests.py b/tests/storageMailboxTests.py index b794dd7..7219ba9 100644 --- a/tests/storageMailboxTests.py +++ b/tests/storageMailboxTests.py @@ -30,6 +30,16 @@ from vdsm.utils import retry import tempfile +_oldtempdir = tempfile.tempdir + + +def setUpModule(): + tempfile.tempdir = '/var/tmp/' + + +def teadDownModule(): + tempfile.tempdir = _oldtempdir + class StoragePoolStub(object): def __init__(self): -- To view, visit http://gerrit.ovirt.org/10225 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I2caacba292fc05118542ba3636281ef4970e32d4 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Dan Kenigsberg <[email protected]> _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
