]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/test/objectstore/chain_xattr.cc
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / test / objectstore / chain_xattr.cc
index a928464af74738fe5ecd729ffc4f2d2a29ac16bd..27c6bbb2f6d5322c2233e3b2eb856913e0d80707 100644 (file)
@@ -122,8 +122,10 @@ TEST(chain_xattr, get_and_set) {
     int x;
     const string name = user + string(CHAIN_XATTR_MAX_NAME_LEN * 2, '@');
     PrCtl unset_dumpable;
+    ::testing::FLAGS_gtest_death_test_style = "threadsafe";
     ASSERT_DEATH(chain_setxattr(file, name.c_str(), &x, sizeof(x)), "");
     ASSERT_DEATH(chain_fsetxattr(fd, name.c_str(), &x, sizeof(x)), "");
+    ::testing::FLAGS_gtest_death_test_style = "fast";
   }
 
   {