From 9fe3cf17d54562d62269146e8eec26c536d38eee Mon Sep 17 00:00:00 2001 From: clowwindy Date: Sun, 2 Nov 2014 01:25:02 +0800 Subject: [PATCH] just start curl, don't wait --- tests/test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.py b/tests/test.py index 39ec374..f62485b 100755 --- a/tests/test.py +++ b/tests/test.py @@ -82,8 +82,8 @@ try: if line.find('starting server') >= 0: server_ready = True - if local_ready and server_ready and p3 is None: - time.sleep(1) + if stage == 1: + time.sleep(2) p3 = Popen(['curl', 'http://www.example.com/', '-v', '-L', '--socks5-hostname', '127.0.0.1:1081',