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

change port used in tests from 4444 to 3333 #4948

Merged
merged 1 commit into from
Nov 29, 2019
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 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