diff options
| author | Ted Ross <tross@apache.org> | 2013-05-01 14:29:52 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2013-05-01 14:29:52 +0000 |
| commit | 74b415d92016c61e4351d19254f94de2af9cb173 (patch) | |
| tree | 12ac2ec68fc6daef8a45a509db0a2fc22e1c60f5 /tests | |
| parent | 6bc7e9e6f45b3712af607f8527899067b4ea375f (diff) | |
| download | qpid-python-74b415d92016c61e4351d19254f94de2af9cb173.tar.gz | |
QPID-4796 - Fixed intermittent test failure in stats test.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1478023 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/src/py/qpid_tests/broker_0_10/stats.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/py/qpid_tests/broker_0_10/stats.py b/tests/src/py/qpid_tests/broker_0_10/stats.py index 04b84db918..d78366a616 100644 --- a/tests/src/py/qpid_tests/broker_0_10/stats.py +++ b/tests/src/py/qpid_tests/broker_0_10/stats.py @@ -211,7 +211,7 @@ class BrokerStatsTests(Base): now_broker = agent.getBroker() - self.assertEqual(now_broker.discardsNoRoute - start_broker.discardsNoRoute, 5, "Expect 5 no-routes") + self.failUnless((now_broker.discardsNoRoute - start_broker.discardsNoRoute) >= 5, "Expect at least 5 no-routes") sess.close() |
