fix up verb tense in log message

Change-Id: I3c407e13b4bf07ce173a789e2e6d53f0e863c66b
This commit is contained in:
Doug Hellmann 2015-03-18 15:31:41 +00:00
parent b9e134d7e9
commit 0ec536bd75
2 changed files with 3 additions and 3 deletions
oslo_messaging

@ -934,7 +934,7 @@ class Connection(object):
pass pass
except recoverable_errors as exc: except recoverable_errors as exc:
LOG.info(_LI("A recoverable connection/channel error " LOG.info(_LI("A recoverable connection/channel error "
"occurs, try to reconnect: %s"), exc) "occurred, trying to reconnect: %s"), exc)
except Exception: except Exception:
LOG.exception(_LE("Unexpected error during heartbeart " LOG.exception(_LE("Unexpected error during heartbeart "
"thread processing, retrying...")) "thread processing, retrying..."))

@ -98,8 +98,8 @@ class TestHeartbeat(test_utils.BaseTestCase):
def test_test_heartbeat_sent_connection_fail(self): def test_test_heartbeat_sent_connection_fail(self):
self._do_test_heartbeat_sent( self._do_test_heartbeat_sent(
heartbeat_side_effect=kombu.exceptions.ConnectionError, heartbeat_side_effect=kombu.exceptions.ConnectionError,
info='A recoverable connection/channel error occurs, ' info='A recoverable connection/channel error occurred, '
'try to reconnect: %s') 'trying to reconnect: %s')
class TestRabbitDriverLoad(test_utils.BaseTestCase): class TestRabbitDriverLoad(test_utils.BaseTestCase):