Skip to content
Snippets Groups Projects
Commit b9ed320f authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Merge branch 'feat-increase-timeout' into 'master'

Feat increase timeout

Closes #12

See merge request !14
parents 97bf8433 ea822dbd
No related branches found
No related tags found
1 merge request!14Feat increase timeout
# Wait for the RStudio Server to start # Wait for the RStudio Server to start
echo "Waiting for RStudio Server to open port ${port}..." echo "Waiting for RStudio Server to open port ${port}..."
if wait_until_port_used "${host}:${port}" 120; then echo "TIMING - Starting wait at: $(date)"
if wait_until_port_used "${host}:${port}" 600; then
echo "Discovered RStudio Server listening on port ${port}!" echo "Discovered RStudio Server listening on port ${port}!"
echo "TIMING - Wait ended at: $(date)"
else else
echo "Timed out waiting for RStudio Server to open port ${port}!" echo "Timed out waiting for RStudio Server to open port ${port}!"
echo "TIMING - Wait ended at: $(date)"
clean_up 1 clean_up 1
fi fi
sleep 2 sleep 2
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment