summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPrashanth Pai <ppai@redhat.com>2016-02-23 19:06:44 +0530
committerPrashanth Pai <ppai@redhat.com>2016-02-23 19:19:32 +0530
commit6df97fd49fa9be6394bd066c6c64fd7c06959a77 (patch)
treec1862dc59bb11e3d51b006d0d9f38ed3b6686528 /test
parent0f81a9205f645eb9a0eb0f2d21dd31e2cf7bbddc (diff)
Disable glfs_dup tests
This change also fixes a mismatch in glfs_seek() function signature. Change-Id: I3d336a2fbfec9ba921b253f6d97616485cadec98 Signed-off-by: Prashanth Pai <ppai@redhat.com>
Diffstat (limited to 'test')
-rw-r--r--test/functional/libgfapi-python-tests.py2
-rw-r--r--test/unit/gluster/test_gfapi.py1
2 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/libgfapi-python-tests.py b/test/functional/libgfapi-python-tests.py
index bfd5c50..6840d18 100644
--- a/test/functional/libgfapi-python-tests.py
+++ b/test/functional/libgfapi-python-tests.py
@@ -20,6 +20,7 @@ from gluster.exceptions import LibgfapiException
from test import get_test_config
from ConfigParser import NoSectionError, NoOptionError
from uuid import uuid4
+from nose import SkipTest
config = get_test_config()
if config:
@@ -227,6 +228,7 @@ class FileOpsTest(unittest.TestCase):
self.fail("Expected a OSError with errno.EEXIST")
def test_write_file_dup_lseek_read(self):
+ raise SkipTest("glfs_dup is currently broken (BZ 1311146)")
try:
f = File(self.vol.open("dune", os.O_CREAT | os.O_EXCL | os.O_RDWR))
f.write("I must not fear. Fear is the mind-killer.")
diff --git a/test/unit/gluster/test_gfapi.py b/test/unit/gluster/test_gfapi.py
index d07ec67..5551235 100644
--- a/test/unit/gluster/test_gfapi.py
+++ b/test/unit/gluster/test_gfapi.py
@@ -97,6 +97,7 @@ class TestFile(unittest.TestCase):
self.assertRaises(OSError, self.fd.fchown, 9, 11)
def test_dup(self):
+ raise SkipTest("glfs_dup is currently broken (BZ 1311146)")
mock_glfs_dup = Mock()
mock_glfs_dup.return_value = 2