Skip to content

Commit 81593bc

Browse files
committed
add delay script, update CI test to run ruby test first
1 parent 874d9dc commit 81593bc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
# a script to simply wait for X seconds before contining the CI tests
3+
# the delay can help prevent 2 CI tests running at the same time as
4+
# all CI tests use the same petstore server for testing.
5+
6+
TIMEOUT=$(( ( RANDOM % 60 ) + 1 ))
7+
8+
read -p 'Press any key to continue or wait for $TIMEOUT seconds' -t $TIMEOUT

0 commit comments

Comments
 (0)