Skip to content

Commit 97e978a

Browse files
author
Simon MacMullen
committed
Merging bug 25733 throws off the timing enough for this to fail consistently on my MBP.
1 parent 7729d85 commit 97e978a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/src/com/rabbitmq/client/test/functional/Routing.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
package com.rabbitmq.client.test.functional;
1919

20+
import com.rabbitmq.client.AlreadyClosedException;
2021
import com.rabbitmq.client.test.BrokerTestCase;
2122
import com.rabbitmq.client.AMQP;
2223
import com.rabbitmq.client.GetResponse;
@@ -252,6 +253,8 @@ public void testBasicReturn() throws IOException {
252253
fail("basic.publish{immediate=true} should not be supported");
253254
} catch (IOException ioe) {
254255
checkShutdownSignal(AMQP.NOT_IMPLEMENTED, ioe);
256+
} catch (AlreadyClosedException ioe) {
257+
checkShutdownSignal(AMQP.NOT_IMPLEMENTED, ioe);
255258
}
256259
}
257260

0 commit comments

Comments
 (0)