Skip to content

Commit 5438021

Browse files
committed
commit 2a3088698c81 on correct branch
1 parent cfb7f76 commit 5438021

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

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

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,4 +351,24 @@ public void testRedeliverAckedUncommitted()
351351
closeChannel();
352352
}
353353

354+
public void testCommitWithDeletedQueue()
355+
throws IOException
356+
{
357+
openChannel();
358+
txSelect();
359+
basicPublish();
360+
releaseResources();
361+
try {
362+
txCommit();
363+
} catch (IOException e) {
364+
closeConnection();
365+
openConnection();
366+
openChannel();
367+
fail("commit failed");
368+
} finally {
369+
createResources();
370+
closeChannel();
371+
}
372+
}
373+
354374
}

0 commit comments

Comments
 (0)