Skip to content

Commit 0600e52

Browse files
authored
chore: fix usage of timeout in alpine E2E test (#92)
1 parent 4b86177 commit 0600e52

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

system-test/test.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ retry() {
77
}
88

99
function timeout_after() {
10-
if [ -f /bin/busybox ]; then
10+
# timeout on Node 11 alpine image requires -t to specify time.
11+
if [ -f /bin/busybox ] && [[ $(node -v) =~ ^v11.* ]]; then
1112
timeout -t "${@}"
1213
else
1314
timeout "${@}"

0 commit comments

Comments
 (0)