summaryrefslogtreecommitdiff
path: root/qpid/java/systests/src/main
diff options
context:
space:
mode:
authorMartin Ritchie <ritchiem@apache.org>2009-09-17 11:37:29 +0000
committerMartin Ritchie <ritchiem@apache.org>2009-09-17 11:37:29 +0000
commitacc1d4c9eb818e038ab48143ddbce3fd51397cb2 (patch)
treef027126296611398d4b2372d263f9c43308e57b9 /qpid/java/systests/src/main
parentca21fd0f95dcf5dad785960fd09f1c59ed441707 (diff)
downloadqpid-python-acc1d4c9eb818e038ab48143ddbce3fd51397cb2.tar.gz
Update to QpidTestCase to only check for broker.stopped lines until we have found the ready line. Added broker.stopped line to cpp.testprofile 'Exception constructed' this identifies port conflict issues. Local testing has shown that this works as expected.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@816150 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/systests/src/main')
-rw-r--r--qpid/java/systests/src/main/java/org/apache/qpid/test/utils/QpidTestCase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/java/systests/src/main/java/org/apache/qpid/test/utils/QpidTestCase.java b/qpid/java/systests/src/main/java/org/apache/qpid/test/utils/QpidTestCase.java
index 0acade8e4f..bed5d3242a 100644
--- a/qpid/java/systests/src/main/java/org/apache/qpid/test/utils/QpidTestCase.java
+++ b/qpid/java/systests/src/main/java/org/apache/qpid/test/utils/QpidTestCase.java
@@ -337,7 +337,7 @@ public class QpidTestCase extends TestCase
latch.countDown();
}
- if (latch != null && line.contains(stopped))
+ if (!seenReady && line.contains(stopped))
{
stopLine = line;
}