Skip to content

Commit 85759fe

Browse files
committed
@RetryingTest for JmsInboundChannelAdapterTests
**Auto-cherry-pick to `7.0.x` & `6.5.x`**
1 parent 2b08710 commit 85759fe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

spring-integration-jms/src/test/java/org/springframework/integration/jms/inbound/JmsInboundChannelAdapterTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package org.springframework.integration.jms.inbound;
1818

19-
import org.junit.jupiter.api.Test;
19+
import org.junitpioneer.jupiter.RetryingTest;
2020

2121
import org.springframework.beans.factory.annotation.Autowired;
2222
import org.springframework.integration.jms.ActiveMQMultiContextTests;
@@ -41,7 +41,7 @@ public class JmsInboundChannelAdapterTests extends ActiveMQMultiContextTests {
4141
@Autowired
4242
private PollableChannel out;
4343

44-
@Test
44+
@RetryingTest(10)
4545
public void testTransactionalReceive() {
4646
JmsTemplate template = new JmsTemplate(connectionFactory);
4747
template.convertAndSend("incatQ", "bar");

0 commit comments

Comments
 (0)