Closed schlomo closed 7 years ago
OSX?
Linux Ubuntu
Am 20.07.2017 7:19 nachm. schrieb "Leo Gallucci" notifications@github.com:
OSX?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zalando/zalenium/issues/192#issuecomment-316772277, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGMCNNuH2fMYPfDpLj2rmFIwhgtQuMeks5sP4wygaJpZM4OeUT6 .
It's a bug in the one-liner script, I can recreate.
Thanks for finding this! I will mark it to fix later.
In the meantime you can use -i
for interactive mode ... bash -s start -i
Should be fixed now!
Thanks a lot, now it is down to 10 seconds and a clean exit code. Thank you very much for the quick fix!
sschapiro@zalando-26723:~$ time curl -sSL https://raw.githubusercontent.com/dosel/t/i/p | env USE_NET_HOST=true bash -s start ; echo RETURN_CODE: $?
Checking dependencies... Done Checking dependencies.
latest: Pulling from dosel/zalenium
Digest: sha256:f17d8ba75b3677a2d66a42417d2b011ca0ac080a1f4b21664d2a3c4030600368
Status: Image is up to date for dosel/zalenium:latest
latest: Pulling from elgalu/selenium
Digest: sha256:eb49a354d1b77d2e8fbcf43d5222745d14056e500ab47c5f78a749e096ff746f
Status: Image is up to date for elgalu/selenium:latest
Starting Zalenium in docker...
WARN: Sauce Labs will not be enabled because the var $SAUCE_USERNAME is NOT present
WARN: BrowserStack will not be enabled because the var $BROWSER_STACK_USER is NOT present
WARN: Testing Bot will not be enabled because the var $TESTINGBOT_SECRET is NOT present
45916a8be9b6d45a699d9592b461525462ce7c9f1caea77389e19e4d189b3f37
...............Zalenium in docker started!
real 0m10,389s
user 0m0,506s
sys 0m0,220s
RETURN_CODE: 0
sschapiro@zalando-26723:~$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
014b9781d6f7 elgalu/selenium:latest "entry.sh" 15 seconds ago Up 14 seconds zalenium_40001
e08b0e0e5ab2 elgalu/selenium:latest "entry.sh" 15 seconds ago Up 14 seconds zalenium_40000
45916a8be9b6 dosel/zalenium:latest "entry.sh start --..." 19 seconds ago Up 18 seconds zalenium
I want to point the selenium tests at a service running on my local machine, therefore I start Zalenium with the USE_NET_HOST=true environment variable set. That way running my selenium tests works well.
The problem is that
Here is the output: