From 8aa845cb8ebc45c76e041e5dded42ec9eaf45424 Mon Sep 17 00:00:00 2001 From: Prashanth Pai Date: Tue, 15 Mar 2016 12:41:25 +0530 Subject: Re-enable glfs_dup() tests Change-Id: I96b6f2a501d52d66694e67990d6b65d4eb920fa2 Signed-off-by: Prashanth Pai --- test/functional/libgfapi-python-tests.py | 2 -- test/unit/gluster/test_gfapi.py | 1 - 2 files changed, 3 deletions(-) (limited to 'test') diff --git a/test/functional/libgfapi-python-tests.py b/test/functional/libgfapi-python-tests.py index 6840d18..bfd5c50 100644 --- a/test/functional/libgfapi-python-tests.py +++ b/test/functional/libgfapi-python-tests.py @@ -20,7 +20,6 @@ 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: @@ -228,7 +227,6 @@ 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 5551235..d07ec67 100644 --- a/test/unit/gluster/test_gfapi.py +++ b/test/unit/gluster/test_gfapi.py @@ -97,7 +97,6 @@ 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 -- cgit