Skip to content

Commit 762b11f

Browse files
author
Simon MacMullen
committed
Don't check shutdown signal in this case, there isn't one. Revert to what's on default.
1 parent 3740f2c commit 762b11f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/src/com/rabbitmq/client/test/server/Permissions.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,8 @@ public void testAuth()
160160
unAuthFactory.newConnection();
161161
fail("Exception expected if password is wrong");
162162
} catch (IOException e) {
163-
checkShutdownSignal(AMQP.NOT_ALLOWED, e);
163+
String msg = e.getMessage();
164+
assertTrue("Exception message should contain auth", msg.toLowerCase().contains("auth"));
164165
}
165166
}
166167

0 commit comments

Comments
 (0)