Skip to content

Commit

Permalink
Update test_router_static.py
Browse files Browse the repository at this point in the history
Remove '-e' before '--net'
  • Loading branch information
panchal-yash authored Sep 11, 2023
1 parent 0ddf343 commit 94b07ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 94b07ca

Please sign in to comment.