File tree Expand file tree Collapse file tree 1 file changed +3
-13
lines changed
test/src/com/rabbitmq/client/test/functional Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change 1717package com .rabbitmq .client .test .functional ;
1818
1919import com .rabbitmq .client .AMQP ;
20+ import com .rabbitmq .client .AlreadyClosedException ;
2021import com .rabbitmq .client .test .BrokerTestCase ;
21- import com .rabbitmq .tools .Host ;
2222
2323import java .io .IOException ;
2424
@@ -36,18 +36,8 @@ public void testInvalidUserId() {
3636 fail ("Accepted publish with incorrect user ID" );
3737 } catch (IOException e ) {
3838 checkShutdownSignal (AMQP .PRECONDITION_FAILED , e );
39- }
40- }
41-
42- public void testImpersonatedUserId () throws IOException {
43- Host .rabbitmqctl ("set_user_tags guest administrator impersonator" );
44- connection = null ;
45- channel = null ;
46- setUp ();
47- try {
48- publish (BAD );
49- } finally {
50- Host .rabbitmqctl ("set_user_tags guest administrator" );
39+ } catch (AlreadyClosedException e ) {
40+ checkShutdownSignal (AMQP .PRECONDITION_FAILED , e );
5141 }
5242 }
5343
You can’t perform that action at this time.
0 commit comments