Skip to content

Commit

Permalink
Fix TestOutputStream test
Browse files Browse the repository at this point in the history
  • Loading branch information
lasanthaS committed Oct 8, 2019
1 parent 8ecddb9 commit 951d0db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/SiddhiCoreTests/TestOutputStream.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ def getCount(self, event):
def test_outputstram(self):
logging.info("OutputStream Test 1: Test reception of events")
siddhiManager = SiddhiManager()
cseEventStream = "@config(async = 'true') " \
"define stream cseEventStream (symbol string, price float, volume int);"
cseEventStream = "define stream cseEventStream (symbol string, price float, volume int);"

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

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

siddhiAppRuntime.addCallback("OutputStream", StreamCallbackImpl())
siddhiAppRuntime.start()

inputHandler = siddhiAppRuntime.getInputHandler("cseEventStream")

Expand Down

0 comments on commit 951d0db

Please sign in to comment.