Skip to content

Commit ddbab8f

Browse files
author
clowwindy
committed
add test for workers
1 parent 5c8e603 commit ddbab8f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import struct
99
import hashlib
1010
import string
11+
import time
1112
from subprocess import Popen, PIPE
1213

1314
target1 = [
@@ -105,6 +106,7 @@ def get_table(key):
105106
ready_count += 1
106107

107108
if ready_count == 2 and p3 is None:
109+
time.sleep(3)
108110
p3 = Popen(['curl', 'http://www.example.com/', '-v', '-L',
109111
'--socks5-hostname', '127.0.0.1:1080'], shell=False,
110112
bufsize=0, close_fds=True)

0 commit comments

Comments
 (0)