From 7ae238722f378ab7647fc1eed7207e98e404a4ff Mon Sep 17 00:00:00 2001 From: zhuwenxing Date: Wed, 27 Sep 2023 12:58:59 +0800 Subject: [PATCH] [test]Add test cases to L0 to make sure checked in ci (#207) Signed-off-by: zhuwenxing --- .github/workflows/main.yaml | 2 +- deployment/cluster/docker-compose.yml | 22 +++++++++++----------- deployment/cluster/values.yaml | 2 +- deployment/standalone/docker-compose.yml | 2 +- deployment/standalone/values.yaml | 2 +- tests/testcases/test_restore_backup.py | 2 +- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index e71fad51..ddabdd58 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -492,7 +492,7 @@ jobs: ./milvus-backup server > server.log 2>&1 & - name: Run test - timeout-minutes: 90 + timeout-minutes: 120 shell: bash working-directory: tests run: | diff --git a/deployment/cluster/docker-compose.yml b/deployment/cluster/docker-compose.yml index 53bb1262..1033af41 100644 --- a/deployment/cluster/docker-compose.yml +++ b/deployment/cluster/docker-compose.yml @@ -54,7 +54,7 @@ services: rootcoord: container_name: milvus-rootcoord - image: milvusdb/milvus:2.3.0-latest + image: milvusdb/milvus:master-latest command: ["milvus", "run", "rootcoord"] environment: ETCD_ENDPOINTS: etcd:2379 @@ -71,7 +71,7 @@ services: proxy: container_name: milvus-proxy - image: milvusdb/milvus:2.3.0-latest + image: milvusdb/milvus:master-latest command: ["milvus", "run", "proxy"] environment: ETCD_ENDPOINTS: etcd:2379 @@ -83,7 +83,7 @@ services: querycoord: container_name: milvus-querycoord - image: milvusdb/milvus:2.3.0-latest + image: milvusdb/milvus:master-latest command: ["milvus", "run", "querycoord"] environment: ETCD_ENDPOINTS: etcd:2379 @@ -99,7 +99,7 @@ services: querynode: container_name: milvus-querynode - image: milvusdb/milvus:2.3.0-latest + image: milvusdb/milvus:master-latest command: ["milvus", "run", "querynode"] environment: ETCD_ENDPOINTS: etcd:2379 @@ -110,7 +110,7 @@ services: indexcoord: container_name: milvus-indexcoord - image: milvusdb/milvus:2.3.0-latest + image: milvusdb/milvus:master-latest command: ["milvus", "run", "indexcoord"] environment: ETCD_ENDPOINTS: etcd:2379 @@ -126,7 +126,7 @@ services: indexnode: container_name: milvus-indexnode - image: milvusdb/milvus:2.3.0-latest + image: milvusdb/milvus:master-latest command: ["milvus", "run", "indexnode"] environment: ETCD_ENDPOINTS: etcd:2379 @@ -138,7 +138,7 @@ services: datacoord: container_name: milvus-datacoord - image: milvusdb/milvus:2.3.0-latest + image: milvusdb/milvus:master-latest command: ["milvus", "run", "datacoord"] environment: ETCD_ENDPOINTS: etcd:2379 @@ -154,7 +154,7 @@ services: datanode: container_name: milvus-datanode - image: milvusdb/milvus:2.3.0-latest + image: milvusdb/milvus:master-latest command: ["milvus", "run", "datanode"] environment: ETCD_ENDPOINTS: etcd:2379 @@ -168,7 +168,7 @@ services: # ---------------------------------------------------------------------------------------- # datanode-1: # container_name: milvus-datanode-1 -# image: milvusdb/milvus:2.3.0-latest +# image: milvusdb/milvus:master-latest # command: ["milvus", "run", "datanode"] # environment: # ETCD_ENDPOINTS: etcd:2379 @@ -179,7 +179,7 @@ services: # # datanode-2: # container_name: milvus-datanode-2 -# image: milvusdb/milvus:2.3.0-latest +# image: milvusdb/milvus:master-latest # command: ["milvus", "run", "datanode"] # environment: # ETCD_ENDPOINTS: etcd:2379 @@ -190,7 +190,7 @@ services: # # datanode-3: # container_name: milvus-datanode-3 -# image: milvusdb/milvus:2.3.0-latest +# image: milvusdb/milvus:master-latest # command: ["milvus", "run", "datanode"] # environment: # ETCD_ENDPOINTS: etcd:2379 diff --git a/deployment/cluster/values.yaml b/deployment/cluster/values.yaml index c1737fbb..483730d4 100644 --- a/deployment/cluster/values.yaml +++ b/deployment/cluster/values.yaml @@ -3,7 +3,7 @@ cluster: image: all: repository: milvusdb/milvus - tag: 2.2.0-latest + tag: master-latest pullPolicy: IfNotPresent etcd: diff --git a/deployment/standalone/docker-compose.yml b/deployment/standalone/docker-compose.yml index 9b22cecd..b2b288cc 100644 --- a/deployment/standalone/docker-compose.yml +++ b/deployment/standalone/docker-compose.yml @@ -32,7 +32,7 @@ services: standalone: container_name: milvus-standalone - image: milvusdb/milvus:2.3.0-latest + image: milvusdb/milvus:master-latest command: ["milvus", "run", "standalone"] environment: ETCD_ENDPOINTS: etcd:2379 diff --git a/deployment/standalone/values.yaml b/deployment/standalone/values.yaml index fb286de6..5e546eae 100644 --- a/deployment/standalone/values.yaml +++ b/deployment/standalone/values.yaml @@ -3,7 +3,7 @@ cluster: image: all: repository: milvusdb/milvus - tag: 2.2.0-latest + tag: master-latest pullPolicy: IfNotPresent kafka: diff --git a/tests/testcases/test_restore_backup.py b/tests/testcases/test_restore_backup.py index 8ff5f608..30620c21 100644 --- a/tests/testcases/test_restore_backup.py +++ b/tests/testcases/test_restore_backup.py @@ -17,10 +17,10 @@ client = MilvusBackupClient("http://localhost:8080/api/v1") +@pytest.mark.tags(CaseLabel.L0) class TestRestoreBackup(TestcaseBase): """ Test case of end to end""" - @pytest.mark.tags(CaseLabel.L1) @pytest.mark.parametrize("nb", [3000]) @pytest.mark.parametrize("is_auto_id", [True, False]) @pytest.mark.parametrize("enable_partition", [True, False])