From 94b07ca2d552b48c5435d7f1302bb1fd9ea0c923 Mon Sep 17 00:00:00 2001 From: Yash Panchal <46398416+panchal-yash@users.noreply.github.com> Date: Mon, 11 Sep 2023 17:23:44 +0530 Subject: [PATCH] Update test_router_static.py Remove '-e' before '--net' --- .../percona-mysql-router/tests/test_router_static.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-image-tests/percona-mysql-router/tests/test_router_static.py b/docker-image-tests/percona-mysql-router/tests/test_router_static.py index 02e10abca..9d0152b89 100644 --- a/docker-image-tests/percona-mysql-router/tests/test_router_static.py +++ b/docker-image-tests/percona-mysql-router/tests/test_router_static.py @@ -20,7 +20,7 @@ def host(): docker_client = docker.from_env() docker_client.networks.create(network_name) docker_id = subprocess.check_output( - ['docker', 'run', '--name', container_name, '-e', '--net', network_name, '-e', 'MYSQL_ROOT_PASSWORD='+ps_pwd, '-e', '--MYSQL_INNODB_CLUSTER_MEMBERS', '4', docker_image ], stderr=subprocess.STDOUT ).decode().strip() + ['docker', 'run', '--name', container_name, '--net', network_name, '-e', 'MYSQL_ROOT_PASSWORD='+ps_pwd, '-e', '--MYSQL_INNODB_CLUSTER_MEMBERS', '4', docker_image ], stderr=subprocess.STDOUT ).decode().strip() time.sleep(20) subprocess.check_call(['docker','exec','--user','root',container_name,'microdnf','install', '-y', 'net-tools']) time.sleep(20)