Browse Source

just start curl, don't wait

auth
clowwindy 10 years ago
parent
commit
9fe3cf17d5
  1. 4
      tests/test.py

4
tests/test.py

@ -82,8 +82,8 @@ try:
if line.find('starting server') >= 0: if line.find('starting server') >= 0:
server_ready = True server_ready = True
if local_ready and server_ready and p3 is None: if stage == 1:
time.sleep(1) time.sleep(2)
p3 = Popen(['curl', 'http://www.example.com/', '-v', '-L', p3 = Popen(['curl', 'http://www.example.com/', '-v', '-L',
'--socks5-hostname', '127.0.0.1:1081', '--socks5-hostname', '127.0.0.1:1081',

Loading…
Cancel
Save