From 342359261a820ee25fa458b59bc458d5f6a83c7b Mon Sep 17 00:00:00 2001 From: zhuwenxing Date: Fri, 14 Jun 2024 10:44:21 +0800 Subject: [PATCH] test: enable cases related to delete (#358) * test: enable cases related to delete Signed-off-by: zhuwenxing * ci: update goreleaser config Signed-off-by: zhuwenxing --------- Signed-off-by: zhuwenxing Signed-off-by: zhuwenxing --- .github/workflows/release.yaml | 4 ++-- tests/testcases/test_restore_backup.py | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c9ec2b19..7a6ac418 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -25,11 +25,11 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - uses: goreleaser/goreleaser-action@v4 + - uses: goreleaser/goreleaser-action@v6 with: # either 'goreleaser' (default) or 'goreleaser-pro': distribution: goreleaser - version: latest + version: '~> v2' args: release --clean env: GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} diff --git a/tests/testcases/test_restore_backup.py b/tests/testcases/test_restore_backup.py index 4edfa9b5..233d99b1 100644 --- a/tests/testcases/test_restore_backup.py +++ b/tests/testcases/test_restore_backup.py @@ -735,7 +735,6 @@ def test_milvus_restore_back_with_sparse_vector_datatype(self, include_dynamic, @pytest.mark.tags(CaseLabel.L1) - @pytest.mark.xfail(reason="https://github.com/zilliztech/milvus-backup/issues/316") def test_milvus_restore_back_with_delete(self): self._connect() name_origin = cf.gen_unique_str(prefix) @@ -785,7 +784,6 @@ def test_milvus_restore_back_with_delete(self): self.compare_collections(name_origin, name_origin + suffix, output_fields=output_fields, verify_by_query=True) @pytest.mark.tags(CaseLabel.L1) - @pytest.mark.xfail(reason="https://github.com/zilliztech/milvus-backup/issues/316") def test_milvus_restore_back_with_upsert(self): self._connect() name_origin = cf.gen_unique_str(prefix)