diff options
| author | Alex Rudyy <orudyy@apache.org> | 2014-07-25 12:06:01 +0000 |
|---|---|---|
| committer | Alex Rudyy <orudyy@apache.org> | 2014-07-25 12:06:01 +0000 |
| commit | 9c80a10aea227d5ebd3d23410718299f026465c6 (patch) | |
| tree | 74ef6ea1828ce28c2930fcba1d13c4eda21a3bcb /qpid/java | |
| parent | ee593a12663f770fa96fd0a0b06b0e7f63a8396c (diff) | |
| download | qpid-python-9c80a10aea227d5ebd3d23410718299f026465c6.tar.gz | |
QPID-5857: Remove unreliable system test ConsumerLoggingTest.testSubscriptionCreateQueueBrowser
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1613402 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java')
| -rw-r--r-- | qpid/java/systests/src/main/java/org/apache/qpid/server/logging/ConsumerLoggingTest.java | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/ConsumerLoggingTest.java b/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/ConsumerLoggingTest.java index 2a33624e11..f321b4e8e0 100644 --- a/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/ConsumerLoggingTest.java +++ b/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/ConsumerLoggingTest.java @@ -148,54 +148,6 @@ public class ConsumerLoggingTest extends AbstractTestLogging /** * Description: - * The creation of a QueueBrowser will provides a number arguments and so should form part of the SUB-1001 Create message. - * Input: - * - * 1. Running Broker - * 2. Java Client creates a QueueBroweser - * Output: - * - * <date> SUB-1001 : Create : Arguments : <key=value> - * - * Validation Steps: - * 3. The SUB ID is correct - * 4. The Arguments are present in the message - * 5. Arguments keys include AutoClose and Browser. - * - * @throws java.io.IOException - if there is a problem getting the matches - * @throws javax.jms.JMSException - if there is a problem creating the consumer - */ - public void testSubscriptionCreateQueueBrowser() throws JMSException, IOException - { - _connection.start(); - QueueBrowser browser = _session.createBrowser(_queue); - - browser.getEnumeration(); - //Validate - //Ensure that we wait for the SUB log message - waitAndFindMatches("SUB-1002"); - - List<String> results = findMatches(SUB_PREFIX); - - final int expected = isBroker010() ? 5 : 2; - assertEquals("Result set larger than expected.", expected, results.size()); - - String log = getLogMessage(results, 0); - - validateMessageID("SUB-1001", log); - - String message = getMessageString(fromMessage(log)); - assertTrue("Browser not on log message:" + message, message.contains("Browser")); - - // Beacause it is an auto close and we have no messages on the queue we - // will get a close message - log = getLogMessage(results, expected-1); - validateMessageID("SUB-1002", log); - - } - - /** - * Description: * The creation of a Subscriber with a JMS Selector will result in the Argument field being populated. These argument key/value pairs are then shown in the log message. * Input: * |
