Skip to content

Commit 0b2565f

Browse files
authored
Merge pull request #447 from Automattic/fix/ssh
test(ssh): add delay to eliminate flakiness
2 parents 9153de6 + 91b7989 commit 0b2565f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

features/test/ssh/checks.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
22

3+
sleep 1
34
check "/var/log/sshd.log exists and is not empty" test -s /var/log/sshd.log
45
check "ssh is running" sudo sh -c 'sv status openssh | grep -E ^run:'
56
sudo sv stop openssh

0 commit comments

Comments
 (0)