diff options
| author | Aidan Skinner <aidan@apache.org> | 2009-08-20 13:33:47 +0000 |
|---|---|---|
| committer | Aidan Skinner <aidan@apache.org> | 2009-08-20 13:33:47 +0000 |
| commit | b12703f9103a88d59385f98fcd63fae6de7355cb (patch) | |
| tree | 2ea3242ff412064828c32843c0c0843536ee16e2 /java | |
| parent | b7628599ca9fa276bc9fc072804f44cd3d4765ea (diff) | |
| download | qpid-python-b12703f9103a88d59385f98fcd63fae6de7355cb.tar.gz | |
QPID-2060: right, if the results are the wrong size just HOLD ON A MO and retry it. Log files sometimes take a while to write, y'know.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@806165 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
| -rw-r--r-- | java/systests/src/main/java/org/apache/qpid/server/logging/SubscriptionLoggingTest.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/java/systests/src/main/java/org/apache/qpid/server/logging/SubscriptionLoggingTest.java b/java/systests/src/main/java/org/apache/qpid/server/logging/SubscriptionLoggingTest.java index 002eadf8a3..849103b2dc 100644 --- a/java/systests/src/main/java/org/apache/qpid/server/logging/SubscriptionLoggingTest.java +++ b/java/systests/src/main/java/org/apache/qpid/server/logging/SubscriptionLoggingTest.java @@ -344,6 +344,19 @@ public class SubscriptionLoggingTest extends AbstractTestLogging //Validate List<String> results = _monitor.findMatches("SUB-1003"); + + if (results.size() != 3) + { + try + { + Thread.sleep(1500); + } + catch (InterruptedException e) + { + + } + results = _monitor.findMatches("SUB-1003"); + } try { |
