Skip to content

Commit

Permalink
Update docker port range to 5000-5007
Browse files Browse the repository at this point in the history
* Update docker-compose port range from 5000-5006 to 5000-5007 to account for pfsense tests on port 5006.  Will get a "key error" if range stops at 5006.
  • Loading branch information
Mark Bonsack committed Feb 11, 2020
1 parent 930298d commit a9b0bdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def sc4s_docker(docker_services):
docker_services.start('sc4s')

ports = {514: docker_services.port_for("sc4s", 514)}
for x in range(5000, 5006):
for x in range(5000, 5007):
ports.update({x: docker_services.port_for("sc4s", x)})

return docker_services.docker_ip, ports
Expand Down

0 comments on commit a9b0bdb

Please sign in to comment.