Skip to content

Commit 5ce3229

Browse files
committed
Reduce sleep times back to prev. values.
There have been problems during the tests with CircleCI, which I think were related to the sleep values being too low. I raised them, but increasing hard-coded sleeps is not something you want to do in your tests. Change sleep times back to their previous values and see if the CI environment is happy with that change.
1 parent 097bc04 commit 5ce3229

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ HUB=$(docker run -d selenium/hub:2.47.1)
1313
HUB_NAME=$(docker inspect -f '{{ .Name }}' $HUB | sed s:/::)
1414
echo 'Waiting for Hub to come online...'
1515
docker logs -f $HUB &
16-
sleep 4
16+
sleep 2
1717

1818
echo 'Starting Selenium Chrome node...'
1919
NODE_CHROME=$(docker run -d --link $HUB_NAME:hub selenium/node-chrome$DEBUG:2.47.1)
@@ -22,7 +22,7 @@ NODE_FIREFOX=$(docker run -d --link $HUB_NAME:hub selenium/node-firefox$DEBUG:2.
2222
docker logs -f $NODE_CHROME &
2323
docker logs -f $NODE_FIREFOX &
2424
echo 'Waiting for nodes to register and come online...'
25-
sleep 10
25+
sleep 2
2626

2727
function test_node {
2828
BROWSER=$1

0 commit comments

Comments
 (0)