From: addshore Date: Thu, 7 Jun 2018 16:27:06 +0000 (+0100) Subject: Use wd/hub not /wd/hub in selenium.sh X-Git-Tag: 1.34.0-rc.0~5094 X-Git-Url: http://git.cyclocoop.org/data/%24self?a=commitdiff_plain;h=ea4e00d5903cdabaa10737143408a1b61baa3110;p=lhc%2Fweb%2Fwiklou.git Use wd/hub not /wd/hub in selenium.sh I have run into this before and we fixed it in the README but not in this script (I wasn't using this script at the time) This was changed in the README in change: I85a9e7dbd9a66418c85585969adb5ac1548f5ef6 Bug: T182421 Change-Id: I6ab92c6a61a57dc313b05321d0789dcbeb776c94 --- diff --git a/tests/selenium/selenium.sh b/tests/selenium/selenium.sh index 93f03b4926..f6bb944e0b 100755 --- a/tests/selenium/selenium.sh +++ b/tests/selenium/selenium.sh @@ -3,7 +3,7 @@ set -euo pipefail # Check the command before running in background so # that it can actually fail and have a descriptive error hash chromedriver -chromedriver --url-base=/wd/hub --port=4444 & +chromedriver --url-base=wd/hub --port=4444 & CHROME_DRIVER_PID=$! echo chromedriver running with PID $CHROME_DRIVER_PID # Make sure it is killed to prevent file descriptors leak