Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change AGENT_EXTERNAL_PORT to real ephemeral port #3867

Merged
merged 1 commit into from
Jan 24, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@ run_connectivity_tests() {
AGENT_INTERNAL_IP=$(docker inspect --format='{{.NetworkSettings.IPAddress}}' fakeagent)
AGENT_INTERNAL_PORT=80
AGENT_EXTERNAL_IP=$GLOBAL_GET_DOCKER_HOST_IP
AGENT_EXTERNAL_PORT=12345
AGENT_EXTERNAL_PORT=32768


### TEST 1: Simulate browser ==> workspace agent HTTP connectivity
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/base/scripts/base/commands/cmd_network.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ cmd_network() {

start_test_server() {
export AGENT_INTERNAL_PORT=80
export AGENT_EXTERNAL_PORT=12345
export AGENT_EXTERNAL_PORT=32768

# Start mini httpd server to run simulated tests
docker run -d -p $AGENT_EXTERNAL_PORT:$AGENT_INTERNAL_PORT --name fakeagent \
Expand Down