This commit is contained in:
19
script/test/test_receive_sender.py
Normal file
19
script/test/test_receive_sender.py
Normal file
@@ -0,0 +1,19 @@
|
||||
|
||||
url="tcp://localhost:9999"
|
||||
|
||||
st1 = Stream("st1", url, SocketType.PULL)
|
||||
#st1.parent.config.headerReservingAllocator = True
|
||||
|
||||
st1.initialize()
|
||||
st1.start()
|
||||
st1.waitCacheChange(60000)
|
||||
|
||||
|
||||
#show_panel(st1)
|
||||
|
||||
|
||||
try:
|
||||
bscan (st1, 5, 5, save=False)
|
||||
finally:
|
||||
st1.close()
|
||||
#p.close()
|
||||
Reference in New Issue
Block a user