瀏覽代碼

test: drop startup sleep

Nicolas Duchon 2 周之前
父節點
當前提交
ad51436731
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      test/conftest.py

+ 1 - 2
test/conftest.py

@@ -542,8 +542,7 @@ class DockerComposer(contextlib.AbstractContextManager):
         try:
             docker_compose_up(docker_compose_files, project_name)
             self._networks = connect_to_all_networks()
-            wait_for_nginxproxy_to_be_ready()
-            time.sleep(3)  # give time to containers to be ready
+            wait_for_nginxproxy_to_be_ready() # give time to containers to be ready
 
         except KeyboardInterrupt:
             logging.warning("KeyboardInterrupt detected! Force cleanup...")