mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-29 05:00:47 +00:00
Remove races
This commit is contained in:
parent
97b9dba460
commit
1576800289
@ -330,6 +330,11 @@ TEST(CoordinationTest, TestStorageSerialization)
|
||||
EXPECT_EQ(new_storage.ephemerals[1].size(), 1);
|
||||
}
|
||||
|
||||
/// Code with obvious races, but I don't want to make it
|
||||
/// more complex to avoid races.
|
||||
#if defined(__has_feature)
|
||||
# if ! __has_feature(thread_sanitizer)
|
||||
|
||||
TEST(CoordinationTest, TestNuKeeperRaft)
|
||||
{
|
||||
NuKeeperRaftServer s1(1, "localhost", 44447);
|
||||
@ -448,3 +453,6 @@ TEST(CoordinationTest, TestNuKeeperRaft)
|
||||
s3.launcher.shutdown(5);
|
||||
s4.launcher.shutdown(5);
|
||||
}
|
||||
|
||||
# endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user