From 8b0f6e7e2e6ab7c156bd33118dc25c4915a45e1f Mon Sep 17 00:00:00 2001 From: Alexandre Gobbo Date: Thu, 14 Nov 2019 16:05:03 +0100 Subject: [PATCH] Script execution --- script/test/TestStreamNotFixed.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/script/test/TestStreamNotFixed.py b/script/test/TestStreamNotFixed.py index a2136d0..8e0d8fd 100644 --- a/script/test/TestStreamNotFixed.py +++ b/script/test/TestStreamNotFixed.py @@ -1,7 +1,10 @@ import ch.psi.pshell.bs.Provider as Provider p=Provider("provider", "tcp://localhost:9999", True) -st1 = Stream("st1", dispatcher) +p.config.keepListeningOnStop = True +p.config.parallelHandlerProcessing = False +p.config.byteBufferAllocator = True +st1 = Stream("st1", p) st1.initialize() st1.start() st1.waitCacheChange(10000) @@ -9,4 +12,5 @@ st1.waitCacheChange(10000) try: bscan (st1, 10, 10, save=False) finally: - st1.close() \ No newline at end of file + st1.close() + \ No newline at end of file