We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3740f2c commit 762b11fCopy full SHA for 762b11f
test/src/com/rabbitmq/client/test/server/Permissions.java
@@ -160,7 +160,8 @@ public void testAuth()
160
unAuthFactory.newConnection();
161
fail("Exception expected if password is wrong");
162
} catch (IOException e) {
163
- checkShutdownSignal(AMQP.NOT_ALLOWED, e);
+ String msg = e.getMessage();
164
+ assertTrue("Exception message should contain auth", msg.toLowerCase().contains("auth"));
165
}
166
167
0 commit comments