mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-11-17 00:07:47 +00:00
Sync test: make sure stratum logs are saved
This commit is contained in:
parent
fcf9d2ad15
commit
e7545db663
1 changed files with 3 additions and 0 deletions
|
@ -10,14 +10,17 @@ sock.settimeout(1)
|
|||
sock.setblocking(True)
|
||||
|
||||
f.write(b'Connecting')
|
||||
f.flush()
|
||||
time.sleep(5)
|
||||
|
||||
while sock.connect_ex(('127.0.0.1', 3333)) != 0:
|
||||
f.write(b'.')
|
||||
f.flush()
|
||||
print('.')
|
||||
time.sleep(1)
|
||||
|
||||
f.write(b'\n')
|
||||
f.flush()
|
||||
|
||||
diff = ''
|
||||
|
||||
|
|
Loading…
Reference in a new issue