Skip to content

Commit 8dcbc8a

Browse files
committed
expand confirm tests to cover non-persistent m&i returns
1 parent fdedd80 commit 8dcbc8a

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,16 +83,18 @@ public void testNonDurable()
8383
confirmTest("", "confirm-test-nondurable", true, false, false);
8484
}
8585

86-
public void testPersistentImmediateNoConsumer()
86+
public void testImmediateNoConsumer()
8787
throws IOException, InterruptedException
8888
{
89-
confirmTest("", "confirm-test-noconsumer", true, false, true);
89+
confirmTest("", "confirm-test-noconsumer", false, false, true);
90+
confirmTest("", "confirm-test-noconsumer", true, false, true);
9091
}
9192

92-
public void testPersistentMandatoryReturn()
93+
public void testMandatoryNoRoute()
9394
throws IOException, InterruptedException
9495
{
95-
confirmTest("", "confirm-test-doesnotexist", true, true, false);
96+
confirmTest("", "confirm-test-doesnotexist", false, true, false);
97+
confirmTest("", "confirm-test-doesnotexist", true, true, false);
9698
}
9799

98100
public void testMultipleQueues()

0 commit comments

Comments
 (0)