From 5e68e51a07c108140746e64ab47ec18a0c6afc1e Mon Sep 17 00:00:00 2001 From: Joseph Livesey Date: Sun, 25 Sep 2022 15:22:57 -0400 Subject: [PATCH] fix(run_docker_test): attempt to fix build --- bin/run_docker_test | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/run_docker_test b/bin/run_docker_test index 80e35fa2..4aedbba5 100755 --- a/bin/run_docker_test +++ b/bin/run_docker_test @@ -80,7 +80,7 @@ def main(): inspect = [ 'docker', 'inspect', '-f', "{{.State.ExitCode}}", - "{}_{}-1".format( + "{}-{}-1".format( isolation_id, test_service) ] @@ -97,7 +97,7 @@ def main(): for service in compose_dict['services']: scrape += [ - '--filter', 'name={}_{}-1'.format(isolation_id, service), + '--filter', 'name={}-{}-1'.format(isolation_id, service), ] timer = Timer(args.timeout) @@ -310,7 +310,7 @@ def _validate_compose_dict(compose_dict, test_service, compose_file): def _check_for_existing_containers(compose_file, compose_dict, isolation_id): containers = _get_existing_containers() for service in compose_dict['services'].keys(): - container_name_to_create = "{}_{}-1".format(isolation_id, service) + container_name_to_create = "{}-{}-1".format(isolation_id, service) for existing_container_name in containers: if container_name_to_create == existing_container_name: raise RunDockerTestError(