Skip to content

Commit 78a42dd

Browse files
gnieboermarcusmueller
authored andcommittedMar 26, 2018
zeromq: adds delay to test to allow subscriber to initialize prior to sending data.
1 parent 273392b commit 78a42dd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎gr-zeromq/python/zeromq/qa_zeromq_sub.py

+2
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ def test_001 (self):
5050
self.tb.connect(zeromq_sub_source, sink)
5151

5252
self.tb.start()
53+
time.sleep(0.05)
5354
self.pub_socket.send(src_data.tostring())
5455
time.sleep(0.25)
5556
self.tb.stop()
@@ -67,6 +68,7 @@ def test_002 (self):
6768
self.tb.connect(zeromq_sub_source, sink)
6869

6970
self.tb.start()
71+
time.sleep(0.05)
7072
self.pub_socket.send_multipart(src_data)
7173
time.sleep(0.25)
7274
self.tb.stop()

0 commit comments

Comments
 (0)
Please sign in to comment.