Skip to content

Commit

Permalink
[test]Add test cases to L0 to make sure checked in ci (#207)
Browse files Browse the repository at this point in the history
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
  • Loading branch information
zhuwenxing authored Sep 27, 2023
1 parent 1eb5996 commit 7ae2387
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
22 changes: 11 additions & 11 deletions deployment/cluster/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion deployment/cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cluster:
image:
all:
repository: milvusdb/milvus
tag: 2.2.0-latest
tag: master-latest
pullPolicy: IfNotPresent

etcd:
Expand Down
2 changes: 1 addition & 1 deletion deployment/standalone/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion deployment/standalone/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cluster:
image:
all:
repository: milvusdb/milvus
tag: 2.2.0-latest
tag: master-latest
pullPolicy: IfNotPresent

kafka:
Expand Down
2 changes: 1 addition & 1 deletion tests/testcases/test_restore_backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit 7ae2387

Please sign in to comment.