mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Make one unit test more maintainable
This commit is contained in:
parent
b08a9e00a4
commit
cc609143e9
@ -85,7 +85,7 @@ TEST(zkutil, multi_async)
|
||||
ops.clear();
|
||||
|
||||
auto res = fut.get();
|
||||
ASSERT_TRUE(res.error == Coordination::ZOK);
|
||||
ASSERT_EQ(res.error, Coordination::ZOK);
|
||||
ASSERT_EQ(res.responses.size(), 2);
|
||||
}
|
||||
|
||||
@ -121,7 +121,7 @@ TEST(zkutil, multi_async)
|
||||
ops.clear();
|
||||
|
||||
auto res = fut.get();
|
||||
ASSERT_TRUE(res.error == Coordination::ZNODEEXISTS);
|
||||
ASSERT_EQ(res.error, Coordination::ZNODEEXISTS);
|
||||
ASSERT_EQ(res.responses.size(), 2);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user