Browse Source

add test for workers

1.4
clowwindy 11 years ago
parent
commit
c055feeb0c
  1. 1
      .travis.yml
  2. 1
      test.py

1
.travis.yml

@ -10,4 +10,3 @@ script:
- python test.py -c test/table.json - python test.py -c test/table.json
- python test.py -c test/aes.json - python test.py -c test/aes.json
- python test.py -c test/salsa20.json - python test.py -c test/salsa20.json
- python test.py -c test/workers.json

1
test.py

@ -106,7 +106,6 @@ try:
ready_count += 1 ready_count += 1
if ready_count == 2 and p3 is None: if ready_count == 2 and p3 is None:
time.sleep(3)
p3 = Popen(['curl', 'http://www.example.com/', '-v', '-L', p3 = Popen(['curl', 'http://www.example.com/', '-v', '-L',
'--socks5-hostname', '127.0.0.1:1080'], shell=False, '--socks5-hostname', '127.0.0.1:1080'], shell=False,
bufsize=0, close_fds=True) bufsize=0, close_fds=True)

Loading…
Cancel
Save