From: John Spray Date: Thu, 13 Oct 2016 18:25:10 +0000 (+0100) Subject: test: temporarily disable fork()'ing tests X-Git-Tag: v11.1.0~623^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F11211%2Fhead;p=ceph.git test: temporarily disable fork()'ing tests Fixes: http://tracker.ceph.com/issues/16556 Signed-off-by: John Spray --- diff --git a/src/test/libcephfs/flock.cc b/src/test/libcephfs/flock.cc index 9ffcfd6eca28..4ee4bc0c29c6 100644 --- a/src/test/libcephfs/flock.cc +++ b/src/test/libcephfs/flock.cc @@ -70,7 +70,6 @@ static const struct timespec* abstime(struct timespec &ts, long ms) { } /* Basic locking */ - TEST(LibCephFS, BasicLocking) { struct ceph_mount_info *cmount = NULL; STARTUP_CEPH(); @@ -427,7 +426,8 @@ static void process_ConcurrentLocking(str_ConcurrentLocking& s) { exit(EXIT_SUCCESS); } -TEST(LibCephFS, InterProcessLocking) { +// Disabled because of fork() issues (http://tracker.ceph.com/issues/16556) +TEST(LibCephFS, DISABLED_InterProcessLocking) { PROCESS_SLOW_MS(); // Process synchronization char c_file[1024]; @@ -526,7 +526,8 @@ TEST(LibCephFS, InterProcessLocking) { CLEANUP_CEPH(); } -TEST(LibCephFS, ThreesomeInterProcessLocking) { +// Disabled because of fork() issues (http://tracker.ceph.com/issues/16556) +TEST(LibCephFS, DISABLED_ThreesomeInterProcessLocking) { PROCESS_SLOW_MS(); // Process synchronization char c_file[1024]; diff --git a/src/test/libcephfs/recordlock.cc b/src/test/libcephfs/recordlock.cc index 5326227d923d..e588ba2bb169 100644 --- a/src/test/libcephfs/recordlock.cc +++ b/src/test/libcephfs/recordlock.cc @@ -749,7 +749,8 @@ static void process_ConcurrentRecordLocking(str_ConcurrentRecordLocking& s) { exit(EXIT_SUCCESS); } -TEST(LibCephFS, InterProcessRecordLocking) { +// Disabled because of fork() issues (http://tracker.ceph.com/issues/16556) +TEST(LibCephFS, DISABLED_InterProcessRecordLocking) { PROCESS_SLOW_MS(); // Process synchronization char c_file[1024]; @@ -909,7 +910,8 @@ TEST(LibCephFS, InterProcessRecordLocking) { CLEANUP_CEPH(); } -TEST(LibCephFS, ThreesomeInterProcessRecordLocking) { +// Disabled because of fork() issues (http://tracker.ceph.com/issues/16556) +TEST(LibCephFS, DISABLED_ThreesomeInterProcessRecordLocking) { PROCESS_SLOW_MS(); // Process synchronization char c_file[1024];