Skip to content

Commit db67373

Browse files
author
Emile Joubert
committed
Add semantic equivalence test for queue redeclare
1 parent 38bc04b commit db67373

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,13 @@ public void testQueueRedeclareEquivalence() throws Exception {
115115
}
116116
}
117117

118+
public void testQueueRedeclareSemanticEquivalence() throws Exception {
119+
declareQueue(TTL_QUEUE_NAME, (byte)10);
120+
declareQueue(TTL_QUEUE_NAME, 10);
121+
declareQueue(TTL_QUEUE_NAME, (short)10);
122+
declareQueue(TTL_QUEUE_NAME, 10L);
123+
}
124+
118125
/*
119126
* Test messages expire when using basic get.
120127
*/

0 commit comments

Comments
 (0)