Fix flow_config_blaster hanging on network errors
authorGary Wu <Gary.Wu1@huawei.com>
Wed, 24 Jun 2015 17:36:35 +0000 (10:36 -0700)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 29 Jun 2015 22:25:10 +0000 (22:25 +0000)
commit49a8d524f6dc35c7343a39a066a95c8fa3043e9b
tree948272e53254ef0d865e40f5c8fcb0cedb0f71b6
parent7046fc9beffa1c94a30cece84597800e17fef037
Fix flow_config_blaster hanging on network errors

flow_config_blaster was hanging on network errors
(e.g. bad hostname) and not exiting properly.
This fixes the issue by using thread.join instead
of waiting for a manually tracked thread count.

Also added a default timeout for connections.

Change-Id: I8b858d12393b4f1d70379233f0a6b35e63d95beb
Signed-off-by: Gary Wu <Gary.Wu1@huawei.com>
test/tools/odl-mdsal-clustering-tests/clustering-performance-test/flow_config_blaster.py