We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 874d9dc commit 81593bcCopy full SHA for 81593bc
samples/client/petstore/ruby/press_anykey_to_continue.sh
@@ -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