Skip to content

Commit 951d0db

Browse files
committed
Fix TestOutputStream test
1 parent 8ecddb9 commit 951d0db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/SiddhiCoreTests/TestOutputStream.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ def getCount(self, event):
4444
def test_outputstram(self):
4545
logging.info("OutputStream Test 1: Test reception of events")
4646
siddhiManager = SiddhiManager()
47-
cseEventStream = "@config(async = 'true') " \
48-
"define stream cseEventStream (symbol string, price float, volume int);"
47+
cseEventStream = "define stream cseEventStream (symbol string, price float, volume int);"
4948

5049
query = "@info(name = 'query 1') from cseEventStream select symbol, price, volume insert into OutputStream; "
5150

@@ -58,6 +57,7 @@ def receive(self, events):
5857
_self_shaddow.inEventCount.addAndGet(len(events))
5958

6059
siddhiAppRuntime.addCallback("OutputStream", StreamCallbackImpl())
60+
siddhiAppRuntime.start()
6161

6262
inputHandler = siddhiAppRuntime.getInputHandler("cseEventStream")
6363

0 commit comments

Comments
 (0)