reliably passing the test for merging datasources in the feed class

This commit is contained in:
fawce
2012-01-17 15:11:11 -05:00
parent a5f53dc265
commit ae935b2242
3 changed files with 70 additions and 31 deletions
+3
View File
@@ -31,6 +31,9 @@ def datafeed():
client = TestClient(feed.feed_address, feed.sync_address)
client.run()
logger.info("feed has {pending} messages".format(pending=feed.pending_messages()))
assert(feed.pending_messages() == 0)
def pubsub():
proc1 = multiprocessing.Process(target=sub)
proc2 = multiprocessing.Process(target=pub)