Skip to content

Commit 0730a6e

Browse files
author
Nathan Marz
committed
remove log messages from python test code
1 parent 0aa8fc5 commit 0730a6e

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/dev/resources/tester_bolt.py

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ def initialize(self, conf, context):
99

1010
def process(self, tup):
1111
word = tup.values[0];
12-
storm.log("BBB: " + word + " " + str(ord(word[-1])))
1312
if (random() < 0.75):
1413
storm.emit([word + 'lalala'], anchors=[tup])
1514
storm.ack(tup)

src/dev/resources/tester_spout.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from time import sleep
66
from uuid import uuid4
77

8-
words = ["nathan", "mike", "jackson", "golda", "bertels人"]
8+
words = [u"nathan", u"mike", u"jackson", u"golda", u"bertels人"]
99

1010
class TesterSpout(Spout):
1111
def initialize(self, conf, context):
@@ -17,7 +17,6 @@ def nextTuple(self):
1717
word = choice(words)
1818
id = str(uuid4())
1919
self.pending[id] = word
20-
log("SSS: " + word + " " + str(ord(word[-1])))
2120
emit([word], id=id)
2221

2322
def ack(self, id):

0 commit comments

Comments
 (0)