mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Fix test for big family to account for whole subtree
This commit is contained in:
parent
0bd4f55241
commit
4b5f31a22c
@ -47,24 +47,26 @@ def test_big_family(client: KeeperClient):
|
||||
|
||||
assert response == TSV(
|
||||
[
|
||||
["/test_big_family/1", "5"],
|
||||
["/test_big_family/2", "3"],
|
||||
["/test_big_family/2/3", "0"],
|
||||
["/test_big_family/2/2", "0"],
|
||||
["/test_big_family/2/1", "0"],
|
||||
["/test_big_family/1/5", "0"],
|
||||
["/test_big_family/1/4", "0"],
|
||||
["/test_big_family/1/3", "0"],
|
||||
["/test_big_family/1/2", "0"],
|
||||
["/test_big_family/1/1", "0"],
|
||||
["/test_big_family", "11"],
|
||||
["/test_big_family/1", "6"],
|
||||
["/test_big_family/2", "4"],
|
||||
["/test_big_family/2/3", "1"],
|
||||
["/test_big_family/2/2", "1"],
|
||||
["/test_big_family/2/1", "1"],
|
||||
["/test_big_family/1/5", "1"],
|
||||
["/test_big_family/1/4", "1"],
|
||||
["/test_big_family/1/3", "1"],
|
||||
["/test_big_family/1/2", "1"],
|
||||
["/test_big_family/1/1", "1"],
|
||||
]
|
||||
)
|
||||
|
||||
response = client.find_big_family("/test_big_family", 1)
|
||||
response = client.find_big_family("/test_big_family", 2)
|
||||
|
||||
assert response == TSV(
|
||||
[
|
||||
["/test_big_family/1", "5"],
|
||||
["/test_big_family", "11"],
|
||||
["/test_big_family/1", "6"],
|
||||
]
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user