]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/test/librados/misc.cc
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / test / librados / misc.cc
index 8d22244d3264703527fad310ba29daf4e68f9d4f..bffab46cbe1f60934db1f2e7d1973d5571e05256 100644 (file)
@@ -17,7 +17,9 @@
 #include "test/librados/TestCase.h"
 #include "gtest/gtest.h"
 #include <sys/time.h>
+#ifndef _WIN32
 #include <sys/resource.h>
+#endif
 
 #include <errno.h>
 #include <map>
@@ -328,6 +330,7 @@ static void shutdown_racer_func()
   }
 }
 
+#ifndef _WIN32
 // See trackers #20988 and #42026
 TEST_F(LibRadosMisc, ShutdownRace)
 {
@@ -348,3 +351,4 @@ TEST_F(LibRadosMisc, ShutdownRace)
     threads[i].join();
   ASSERT_EQ(setrlimit(RLIMIT_NOFILE, &rold), 0);
 }
+#endif /* _WIN32 */