Skip to content
Snippets Groups Projects
Commit 2d740e08 authored by Erik Hedenström's avatar Erik Hedenström
Browse files

Added sleep to let socat settle. Fixed feature test.

parent 2d55ca9c
Branches
No related tags found
No related merge requests found
Pipeline #
......@@ -7,13 +7,9 @@ before_script:
- export GOPATH=${CI_PROJECT_DIR}/_build/go
- export PATH=${ERL_HOME}/bin:${GOPATH}/bin:${GOROOT}/bin:$PATH
- mkdir -p ${GOPATH}
- whoami
- socat -d -d -d -lf /var/log/socat.log tcp-listen:2375,reuseaddr,bind=127.0.0.1,fork unix-connect:/var/run/docker.sock &
- socat /var/log/socat.log tcp-listen:2375,reuseaddr,bind=127.0.0.1,fork unix-connect:/var/run/docker.sock &
- sleep 3
- export DOCKER_HOST="tcp://127.0.0.1:2375"
- ps -ax
- ls -l /var/run/
- sleep 300
- curl -v 127.0.0.1:2375
- docker info
- rebar3 update
......
......@@ -4,7 +4,7 @@ Feature: Proxy functionality
route requests to services
Background:
Given a docker container named consul running ehedenst/consul:$<CI_BUILD_ARCH> with commands:
Given a docker container named consul running hedenstroem/consul with commands:
"""
agent -dev -ui-dir /ui -client 0.0.0.0
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment