Skip to content

Commit

Permalink
test: add restore v2 test case (zilliztech#506)
Browse files Browse the repository at this point in the history
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
  • Loading branch information
zhuwenxing authored Jan 17, 2025
1 parent 312e7e9 commit cae2549
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/testcases/test_restore_backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@ class TestRestoreBackup(TestcaseBase):
@pytest.mark.parametrize("is_async", [True, False])
@pytest.mark.parametrize("collection_need_to_restore", [3])
@pytest.mark.parametrize("collection_type", ["all"])
@pytest.mark.parametrize("use_v2_restore", [True, False])
@pytest.mark.tags(CaseLabel.L0)
def test_milvus_restore_back(
self,
use_v2_restore,
collection_type,
collection_need_to_restore,
is_async,
Expand Down Expand Up @@ -110,6 +112,7 @@ def test_milvus_restore_back(
"collection_suffix": suffix,
"collection_names": restore_collections,
}
payload["useV2Restore"] = use_v2_restore
t0 = time.time()
res = self.client.restore_backup(payload)
restore_id = res["data"]["id"]
Expand Down

0 comments on commit cae2549

Please sign in to comment.