Skip to content

Commit

Permalink
Fix ci error.
Browse files Browse the repository at this point in the history
Signed-off-by: Ye Cao <[email protected]>
  • Loading branch information
dashanji committed Jul 15, 2024
1 parent 9804e75 commit c691319
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/vineyard-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ jobs:
e2e-tests-vineyardctl \
e2e-tests-deploy-raw-backup-and-recover \
e2e-tests-three-etcd-nodes-failover \
e2e-tests-five-etcd-nodes-failover
e2e-tests-five-etcd-nodes-failover \
unit-tests; do
mkdir -p $job-logs
chmod a+rwx $job-logs
Expand Down
12 changes: 11 additions & 1 deletion .stoat/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,14 @@ plugins:
metadata:
name: "schedule-workload-logs"
path: e2e-tests-schedule-workload-logs
file_viewer: true
file_viewer: true
e2e-tests-three-etcd-nodes-failover-logs:
metadata:
name: "three-etcd-nodes-failover-logs"
path: e2e-tests-three-etcd-nodes-failover-logs
file_viewer: true
e2e-tests-five-etcd-nodes-failover-logs:
metadata:
name: "five-etcd-nodes-failover-logs"
path: e2e-tests-five-etcd-nodes-failover-logs
file_viewer: truee2e-tests-five-etcd-nodes-failover
10 changes: 9 additions & 1 deletion test/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,15 @@ def make_metadata_settings(meta, endpoint, prefix):
if meta == 'local':
return ['--meta', 'local']
if meta == 'etcd':
return ['--meta', 'etcd', '--etcd_endpoint', endpoint, '--etcd_prefix', prefix]
return [
'--meta',
'etcd',
'--etcd_endpoint',
endpoint,
'--etcd_prefix',
prefix,
'--skip_launch_etcd=false',
]
if meta == 'redis':
return [
'--meta',
Expand Down

0 comments on commit c691319

Please sign in to comment.