Skip to content

Commit 17f4462

Browse files
author
Matthew Sackman
committed
Make tests pass again
1 parent dcb2af2 commit 17f4462

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ private void publishN(String exchangeName, String queueName,
254254
throws IOException
255255
{
256256
for (long i = 0; i < NUM_MESSAGES; i++) {
257-
ackSet.add(i);
257+
ackSet.add(channel.getNextPublishSeqNo());
258258
publish(exchangeName, queueName, persistent, mandatory, immediate);
259259
}
260260
}

0 commit comments

Comments
 (0)