Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
Merge pull request #4948 from golemfactory/change_test_port
Browse files Browse the repository at this point in the history
change port used in tests from 4444 to 3333
  • Loading branch information
etam authored Nov 29, 2019
2 parents a33739d + 7793275 commit ea49ba3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/golem/envs/docker/cpu/test_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ def test_shared_dir(self, local_client, _):
@patch_cpu('local_client')
def test_published_ports(self, local_client):
config = Mock(spec=DockerCPUConfig, cpu_count=2)
port = 4444
port = 3333
payload = mock_docker_runtime_payload(ports=[port])
host_config = self.env._create_host_config(config, payload)

Expand Down
2 changes: 1 addition & 1 deletion tests/golem/envs/docker/cpu/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def test_ports(self):
))
self.assertTrue(installed)

port = 4444
port = 3333
runtime = self.env.runtime(DockerRuntimePayload(
image="busybox",
tag="latest",
Expand Down
2 changes: 1 addition & 1 deletion tests/golem/task/task_api/test_docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def test_create_task_api_payload(self):
prereq = DockerPrerequisites(image='image', tag='tag')
shared_dir = Path('shared_dir')
command = 'cmd'
port = 4444
port = 3333

payload = DockerTaskApiPayloadBuilder.create_payload(
prereq,
Expand Down

0 comments on commit ea49ba3

Please sign in to comment.