Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix messaging unit test after health check addition

  • Loading branch information...
commit 73927c4ccd4021df3f53130f45c7c331253f4b20 1 parent 2419953
@daf daf authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 pyon/net/test/test_messaging.py
View
4 pyon/net/test/test_messaging.py
@@ -164,6 +164,10 @@ def test_channel_pool_release_reacquire(self, bcbmock):
ncm.return_value._queue_auto_delete = False
ncm.return_value.get_channel_id.return_value = sentinel.chid
+ # mock out health check
+ cpchmock = Mock(return_value=True)
+ self._node._check_pooled_channel_health = cpchmock
+
with patch('pyon.net.messaging.NodeB._new_channel', ncm):
ch = self._node.channel(BidirClientChannel)
Please sign in to comment.
Something went wrong with that request. Please try again.