Skip to content

Commit dc87b42

Browse files
author
Simon MacMullen
committed
checkShutdownSignal sets connection and channel to null. The referenced bug has been FIXED, so DTRT.
1 parent 660b42e commit dc87b42

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -375,9 +375,8 @@ protected void runTest(boolean exp, String name, WithName test)
375375
assertTrue(msg, exp);
376376
} catch (IOException e) {
377377
checkShutdownSignal(AMQP.ACCESS_REFUSED, e);
378-
//This fails due to bug 20296
379-
//openChannel();
380-
channel = connection.createChannel(channel.getChannelNumber() + 1);
378+
openConnection();
379+
openChannel();
381380
}
382381
}
383382

0 commit comments

Comments
 (0)