forked from loafle/openapi-generator-original
add delay script, update CI test to run ruby test first
This commit is contained in:
parent
874d9dc54a
commit
81593bc4f6
8
samples/client/petstore/ruby/press_anykey_to_continue.sh
Normal file
8
samples/client/petstore/ruby/press_anykey_to_continue.sh
Normal file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
# a script to simply wait for X seconds before contining the CI tests
|
||||
# the delay can help prevent 2 CI tests running at the same time as
|
||||
# all CI tests use the same petstore server for testing.
|
||||
|
||||
TIMEOUT=$(( ( RANDOM % 60 ) + 1 ))
|
||||
|
||||
read -p 'Press any key to continue or wait for $TIMEOUT seconds' -t $TIMEOUT
|
Loading…
x
Reference in New Issue
Block a user