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 7769e36 commit fb95c54Copy full SHA for fb95c54
test/src/com/rabbitmq/client/test/functional/ExchangeDeleteIfUnused.java
@@ -33,6 +33,7 @@
33
34
import java.io.IOException;
35
36
+import com.rabbitmq.client.AMQP;
37
import com.rabbitmq.client.ShutdownSignalException;
38
import com.rabbitmq.client.test.BrokerTestCase;
39
@@ -65,7 +66,7 @@ public void testExchangeDelete() {
65
66
channel.exchangeDelete(EXCHANGE_NAME, true);
67
fail("Exception expected if exchange in use");
68
} catch (IOException e) {
- checkShutdownSignal(406, e);
69
+ checkShutdownSignal(AMQP.PRECONDITION_FAILED, e);
70
}
71
72
0 commit comments