Correct unit test bug in rmr-python 51/1051/1
authorE. Scott Daniels <daniels@research.att.com>
Wed, 2 Oct 2019 12:28:58 +0000 (08:28 -0400)
committerE. Scott Daniels <daniels@research.att.com>
Wed, 2 Oct 2019 12:28:58 +0000 (08:28 -0400)
commit369f53b364352e2520fd451a579cbc429e7188e2
tree768c7a09915201d0c824d2f63c85bc0f84a2eca4
parenta1c1dc60f3d58d4ffb6bf55598b5134c9d69ca66
Correct unit test bug in rmr-python

With RMR 1.8.x connections are forced to be asynch by default to
prevent kubernetes blocking the attempt for minutes. However, the
asynch nature of connections makes unit tests concerned with the
ability to send and receive messages non-deterministic as some
connections are established before the first message is sent, and
others are not.

This change ensures that unit tests establish connections in a
synchronous manner which ensures that the first send will not be
rejected by NNG due to a pending connection.

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: Ic72c48480d68e0aa8ba1bc0110b6222c3707ceaa
src/bindings/rmr-python/setup.py
src/bindings/rmr-python/tests/test_rmr.py
src/bindings/rmr-python/tox.ini