mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
Update gtest_coordination.cpp
This commit is contained in:
parent
18cceedc00
commit
28b96ff20f
@ -962,7 +962,7 @@ TEST_P(CoordinationTest, TestStorageSnapshotSimple)
|
|||||||
|
|
||||||
auto debuf = manager.deserializeSnapshotBufferFromDisk(2);
|
auto debuf = manager.deserializeSnapshotBufferFromDisk(2);
|
||||||
|
|
||||||
auto [restored_storage, snapshot_meta, _] = manager.deserializeSnapshotFromBuffer(debuf);
|
auto [restored_storage, snapshot_meta, _] = manager.deserializeSnapshotFromBuffer(debuf);
|
||||||
|
|
||||||
EXPECT_EQ(restored_storage->container.size(), 3);
|
EXPECT_EQ(restored_storage->container.size(), 3);
|
||||||
EXPECT_EQ(restored_storage->container.getValue("/").children.size(), 1);
|
EXPECT_EQ(restored_storage->container.getValue("/").children.size(), 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user