diff --git a/test/nginx_opentracing_test.py b/test/nginx_opentracing_test.py index df5dd48c..45b2b665 100644 --- a/test/nginx_opentracing_test.py +++ b/test/nginx_opentracing_test.py @@ -42,7 +42,7 @@ def setUp(self): ) self.environment_handle = subprocess.Popen( - ["docker-compose", "up"], + ["docker compose", "up"], stdout=subprocess.PIPE, stderr=subprocess.PIPE, ) @@ -107,7 +107,7 @@ def _stopDocker(self): if not self.running: return self.running = False - subprocess.check_call(["docker-compose", "down"]) + subprocess.check_call(["docker compose", "down"]) stdout, stderr = self.environment_handle.communicate() self.environment_stdout = stdout self.environment_stderr = stderr