mirror of
https://github.com/ceph/ceph
synced 2025-03-19 17:06:24 +00:00
Merge pull request #34141 from tchaikov/wip-test-threadsafe
test/objectstore: set "threadsafe" flag for ASSERT_DEATH tests Reviewed-by: Neha Ojha <nojha@redhat.com>
This commit is contained in:
commit
76b81f3a88
@ -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";
|
||||
}
|
||||
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user