]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test: temporarily disable fork()'ing tests 11953/head
authorJohn Spray <john.spray@redhat.com>
Thu, 13 Oct 2016 18:25:10 +0000 (19:25 +0100)
committerNathan Cutler <ncutler@suse.com>
Sun, 13 Nov 2016 12:31:18 +0000 (13:31 +0100)
Fixes: http://tracker.ceph.com/issues/16556
Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 1f3d96c501ad666b9878269de25bb0172516fc53)

Conflicts:
src/test/libcephfs/recordlock.cc (file does not exist in jewel)

src/test/libcephfs/flock.cc

index 0b3f0d7d49fabce6c3e88e7943af806371e523ec..a4b8da048431c44c7e1c8f5f97362192583e41eb 100644 (file)
@@ -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];