Skip to content

Commit 3353eda

Browse files
author
Matthew Sackman
committed
Merging bug 21841 onto default
2 parents a98393c + 7388a9b commit 3353eda

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

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

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,11 @@ protected void releaseResources() throws IOException {
6868
channel.exchangeDelete(X);
6969
}
7070

71-
public void testBind()
71+
public void testBindDurableToTransient()
7272
throws IOException
7373
{
74-
try {
75-
channel.queueBind(Q, X, "");
76-
fail("Expected exception from queueBind");
77-
} catch (IOException ee) {
78-
// Pass!
79-
}
74+
channel.queueBind(Q, X, "");
75+
basicPublish();
76+
assertNotNull(basicGet());
8077
}
8178
}

0 commit comments

Comments
 (0)