diff options
| author | Robert Godfrey <rgodfrey@apache.org> | 2012-02-20 16:01:01 +0000 |
|---|---|---|
| committer | Robert Godfrey <rgodfrey@apache.org> | 2012-02-20 16:01:01 +0000 |
| commit | f8c03792d304e62acac9f4c2fc64c08490acdf98 (patch) | |
| tree | b7b369be517eada3febae8e4f48e39034952c329 /qpid/java/broker/src/test | |
| parent | 377fcb66deaba1871aecf6056ff94daa765d7508 (diff) | |
| download | qpid-python-f8c03792d304e62acac9f4c2fc64c08490acdf98.tar.gz | |
QPID-1505 : PlainSaslServer throws and immediately catches and wraps Sasl Exception
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1291330 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/broker/src/test')
| -rw-r--r-- | qpid/java/broker/src/test/java/org/apache/qpid/server/security/auth/sasl/SaslServerTestCase.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/java/broker/src/test/java/org/apache/qpid/server/security/auth/sasl/SaslServerTestCase.java b/qpid/java/broker/src/test/java/org/apache/qpid/server/security/auth/sasl/SaslServerTestCase.java index c3671d6a87..f5247634ac 100644 --- a/qpid/java/broker/src/test/java/org/apache/qpid/server/security/auth/sasl/SaslServerTestCase.java +++ b/qpid/java/broker/src/test/java/org/apache/qpid/server/security/auth/sasl/SaslServerTestCase.java @@ -54,7 +54,7 @@ public abstract class SaslServerTestCase extends TestCase } catch (SaslException e) { - assertEquals("Authentication failed", e.getCause().getMessage()); + assertTrue(e.getMessage().contains("Authentication failed")); exceptionCaught = true; } if (!exceptionCaught) |
