From 1f3d96c501ad666b9878269de25bb0172516fc53 Mon Sep 17 00:00:00 2001 From: John Spray Date: Thu, 13 Oct 2016 19:25:10 +0100 Subject: [PATCH] test: temporarily disable fork()'ing tests Fixes: http://tracker.ceph.com/issues/16556 Signed-off-by: John Spray --- src/test/libcephfs/flock.cc | 7 ++++--- src/test/libcephfs/recordlock.cc | 6 ++++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/test/libcephfs/flock.cc b/src/test/libcephfs/flock.cc index 9ffcfd6eca2..4ee4bc0c29c 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 5326227d923..e588ba2bb16 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];