]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test: temporarily disable fork()'ing tests 11211/head
authorJohn Spray <john.spray@redhat.com>
Thu, 13 Oct 2016 18:25:10 +0000 (19:25 +0100)
committerJohn Spray <john.spray@redhat.com>
Fri, 14 Oct 2016 07:57:47 +0000 (08:57 +0100)
Fixes: http://tracker.ceph.com/issues/16556
Signed-off-by: John Spray <john.spray@redhat.com>
src/test/libcephfs/flock.cc
src/test/libcephfs/recordlock.cc

index 9ffcfd6eca2866e00300710cf94c32f2ee546084..4ee4bc0c29c63b8d73f53b036e9844841530513d 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];
index 5326227d923d442fe0771d5ac0370f60c5c75b7f..e588ba2bb169f80fada7adfec281361e168b07e3 100644 (file)
@@ -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];