Skip to content
This repository was archived by the owner on Jun 30, 2021. It is now read-only.

Commit bb4ce7f

Browse files
committed
Add tests for DOCKER_HOST_IP and CONTAINER_IP #177
1 parent de07be9 commit bb4ce7f

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

test/script_scenario_basic

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,23 @@ fi
8686
docker exec grid errors || true
8787
docker cp grid:/test/console.png ./images/grid3_console.png
8888
docker cp grid:/capabilities.json .
89+
90+
echo "#=================================================="
91+
echo "# Scenario 1c [basic]: Make sure guest.docker works"
92+
echo "#=================================================="
93+
94+
docker exec grid curl localhost:24444/grid/console
95+
docker exec grid curl d.guest.loc.dev:24444/grid/console
96+
docker exec grid curl guest.docker:24444/grid/console
97+
98+
echo "#======================================================"
99+
echo "# Scenario 1d [basic]: Make sure host.docker works #177"
100+
echo "#======================================================"
101+
docker run -d -t --name=basic_webserver \
102+
-p 8710:80 \
103+
nginx
104+
105+
docker attach basic_webserver &
106+
107+
docker exec grid curl d.host.loc.dev:8710
108+
docker exec grid curl host.docker:8710

0 commit comments

Comments
 (0)