Skip to content

Commit c538eb3

Browse files
committed
Dev: behave: Adjust functional test for previous commit
1 parent 155e405 commit c538eb3

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

test/features/cluster_blocking_ssh.feature

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@ Feature: cluster testing with ssh blocked
6060
And Run "firewall-cmd --zone=public --add-rich-rule='rule port port=22 protocol=tcp drop' --permanent && firewall-cmd --reload" on "hanode2"
6161
And Try "ssh -o ConnectTimeout=5 hanode2" on "hanode1"
6262
Then Except "ssh: connect to host hanode2 port 22: Connection timed out" in stderr
63-
When Run "timeout 5s crm report || echo "timeout"" on "hanode1"
64-
Then Expected "timeout" in stdout
6563
When Write multi lines to file "/etc/crm/crm.conf" on "hanode1"
6664
"""
6765
[core]

test/features/qdevice_validate.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Feature: corosync qdevice/qnetd options validate
2323
Scenario: Service ssh on qnetd node not available
2424
When Run "systemctl stop sshd.service" on "node-without-ssh"
2525
When Try "crm cluster init --qnetd-hostname=node-without-ssh"
26-
Then Except "ERROR: cluster.init: ssh service on "node-without-ssh" not available"
26+
Then Except "ERROR: cluster.init: host "node-without-ssh" is unreachable via SSH"
2727

2828
@clean
2929
Scenario: Option "--qdevice-port" set wrong port

0 commit comments

Comments
 (0)