@@ -67,7 +67,6 @@ public void testQueueExclusiveForPassiveDeclare() throws Exception {
67
67
try {
68
68
channel .queueDeclarePassive (q );
69
69
} catch (IOException ioe ) {
70
- checkShutdownSignal (AMQP .RESOURCE_LOCKED , ioe );
71
70
return ;
72
71
}
73
72
fail ("Passive queue declaration of an exclusive queue from another connection should fail" );
@@ -79,7 +78,6 @@ public void testQueueExclusiveForDeclare() throws Exception {
79
78
try {
80
79
channel .queueDeclare (q , false , true , false , noArgs );
81
80
} catch (IOException ioe ) {
82
- checkShutdownSignal (AMQP .RESOURCE_LOCKED , ioe );
83
81
return ;
84
82
}
85
83
fail ("Active queue declaration of an exclusive queue from another connection should fail" );
@@ -90,7 +88,6 @@ public void testQueueExclusiveForConsume() throws Exception {
90
88
try {
91
89
channel .basicConsume (q , c );
92
90
} catch (IOException ioe ) {
93
- checkShutdownSignal (AMQP .RESOURCE_LOCKED , ioe );
94
91
return ;
95
92
}
96
93
fail ("Exclusive queue should be locked for basic consume from another connection" );
@@ -100,7 +97,6 @@ public void testQueueExclusiveForPurge() throws Exception {
100
97
try {
101
98
channel .queuePurge (q );
102
99
} catch (IOException ioe ) {
103
- checkShutdownSignal (AMQP .RESOURCE_LOCKED , ioe );
104
100
return ;
105
101
}
106
102
fail ("Exclusive queue should be locked for queue purge from another connection" );
@@ -110,7 +106,6 @@ public void testQueueExclusiveForDelete() throws Exception {
110
106
try {
111
107
channel .queueDelete (q );
112
108
} catch (IOException ioe ) {
113
- checkShutdownSignal (AMQP .RESOURCE_LOCKED , ioe );
114
109
return ;
115
110
}
116
111
fail ("Exclusive queue should be locked for queue delete from another connection" );
@@ -120,7 +115,6 @@ public void testQueueExclusiveForBind() throws Exception {
120
115
try {
121
116
channel .queueBind (q , "" , "" ); // NB uses default exchange
122
117
} catch (IOException ioe ) {
123
- checkShutdownSignal (AMQP .INTERNAL_ERROR , ioe );
124
118
return ;
125
119
}
126
120
fail ("Exclusive queue should be locked for queue bind from another connection" );
@@ -138,7 +132,6 @@ public void testQueueExclusiveForUnbind() throws Exception {
138
132
try {
139
133
channel .queueUnbind (q , "" , "" );
140
134
} catch (IOException ioe ) {
141
- checkShutdownSignal (AMQP .INTERNAL_ERROR , ioe );
142
135
return ;
143
136
}
144
137
fail ("Exclusive queue should be locked for queue unbind from another connection" );
@@ -148,7 +141,6 @@ public void testQueueExclusiveForGet() throws Exception {
148
141
try {
149
142
channel .basicGet (q , true );
150
143
} catch (IOException ioe ) {
151
- checkShutdownSignal (AMQP .RESOURCE_LOCKED , ioe );
152
144
return ;
153
145
}
154
146
fail ("Exclusive queue should be locked for basic get from another connection" );
0 commit comments