Change in vdsm[master]: tests: Mark integration tests
nsoffer at redhat.com
nsoffer at redhat.com
Wed Apr 6 10:18:21 UTC 2016
Nir Soffer has uploaded a new change for review.
Change subject: tests: Mark integration tests
......................................................................
tests: Mark integration tests
Mark tests that test the environment and not vdsm code as integration
tests. This skip the tests in make check and prevent failures on travis
and jenkins.
Integration tests should run separately in a special environment, not
during regular make check.
Unfinished - these tests do not succeed on travis:
outOfProcessTests.OopWrapperTests
testAmountOfInstancesPerPoolName FAIL
testDifferentPoolName ERROR
testEcho ERROR
testFileUtilsCall ERROR
testSamePoolName ERROR
testSubModuleCall ERROR
testUtilsFuncs ERROR
utilsTests.CommandPathTests
testExistingNotInPaths FAIL
Change-Id: I056dc7534bde94a157e750f6699db4fe6a3aff27
Signed-off-by: Nir Soffer <nsoffer at redhat.com>
---
M tests/mkimageTests.py
1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/30/55730/1
diff --git a/tests/mkimageTests.py b/tests/mkimageTests.py
index b515d31..bcddb9f 100644
--- a/tests/mkimageTests.py
+++ b/tests/mkimageTests.py
@@ -31,6 +31,7 @@
from shutil import rmtree
from tempfile import mkdtemp
+from nose.plugins.attrib import attr
from nose.plugins.skip import SkipTest
from monkeypatch import Patch
from testlib import VdsmTestCase, permutations, expandPermutations
@@ -43,6 +44,7 @@
import mkimage
+ at attr(type='integration')
@expandPermutations
class MkimageTestCase(VdsmTestCase):
"""
@@ -152,6 +154,7 @@
self.assertEqual(len(partitions), 3)
self.assertEqual(partitions[2].strip(), '"' + label + '"')
+ @attr(type='unit')
def test__decodeFilesIntoDir(self):
"""
Tests mkimage._decodeFilesIntoDir
--
To view, visit https://gerrit.ovirt.org/55730
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I056dc7534bde94a157e750f6699db4fe6a3aff27
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <nsoffer at redhat.com>
More information about the vdsm-patches
mailing list