File tree Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -140,6 +140,19 @@ jobs:
140
140
$DOCKER_SCRIPT $index
141
141
- uses : codecov/codecov-action@v3
142
142
143
+ functional_test_corosync_ui :
144
+ runs-on : ubuntu-20.04
145
+ timeout-minutes : 40
146
+ steps :
147
+ - uses : actions/checkout@v3
148
+ - name : functional test for crm corosync subcommand
149
+ run : |
150
+ echo '{ "exec-opts": ["native.cgroupdriver=systemd"] }' | sudo tee /etc/docker/daemon.json
151
+ sudo systemctl restart docker.service
152
+ index=`$GET_INDEX_OF corosync_ui`
153
+ $DOCKER_SCRIPT $index
154
+ - uses : codecov/codecov-action@v3
155
+
143
156
functional_test_bootstrap_options_non_root :
144
157
runs-on : ubuntu-20.04
145
158
timeout-minutes : 40
Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ test/features/bootstrap_sbd_normal.feature
73
73
test/features/cluster_api.feature
74
74
test/features/configure_bugs.feature
75
75
test/features/constraints_bugs.feature
76
+ test/features/corosync_ui.feature
76
77
test/features/coveragerc
77
78
test/features/crm_report_bugs.feature
78
79
test/features/crm_report_normal.feature
Original file line number Diff line number Diff line change
1
+ @bootstrap
2
+ Feature : crm corosync ui test cases
3
+
4
+ Need nodes: hanode1 hanode2
5
+
6
+ Scenario : Empty cluster
7
+ When Try "crm corosync show" on "hanode1"
8
+ Then Except "No such file or directory: '/etc/corosync/corosync.conf'" in stderr
9
+ When Try "crm corosync set totem.cluster_name xin" on "hanode1"
10
+ Then Except "No such file or directory: '/etc/corosync/corosync.conf'" in stderr
You can’t perform that action at this time.
0 commit comments