Skip to content

Commit a538402

Browse files
author
Simon MacMullen
committed
Workaround for bug 24086.
1 parent f4631c3 commit a538402

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,12 @@ private void expectUnexpectedFrameError(Confuser confuser)
145145
//NB: the frame confuser relies on the encoding of the
146146
//method field to be at least 8 bytes long
147147
channel.basicPublish("", "routing key", null, "Hello".getBytes());
148+
// TODO remove when bug 24086 is fixed.
149+
try {
150+
Thread.sleep(100);
151+
} catch (InterruptedException e) {
152+
e.printStackTrace();
153+
}
148154
expectError(AMQP.UNEXPECTED_FRAME);
149155
}
150156

0 commit comments

Comments
 (0)