Skip to content

Commit 8780464

Browse files
committed
Update test to catch CI server issue
1 parent 9280ca7 commit 8780464

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spring-messaging/src/test/java/org/springframework/messaging/simp/stomp/StompBrokerRelayMessageHandlerIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ public void expectAvailabilityStatusChanges(Boolean... expected) {
581581

582582
public void awaitAndAssert() throws InterruptedException {
583583
synchronized(this.monitor) {
584-
long endTime = System.currentTimeMillis() + 10000;
584+
long endTime = System.currentTimeMillis() + 60000;
585585
while ((this.expected.size() != this.actual.size()) && (System.currentTimeMillis() < endTime)) {
586586
this.monitor.wait(500);
587587
}

spring-messaging/src/test/resources/log4j.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ log4j.appender.console.layout.ConversionPattern=%d{HH:mm:ss,SSS} [%c] - %m%n
55
log4j.rootCategory=WARN, console
66
log4j.logger.org.springframework.messaging=DEBUG
77
log4j.logger.org.springframework.web=DEBUG
8-
log4j.logger.org.apache.activemq=INFO
8+
log4j.logger.org.apache.activemq=TRACE
99
# Enable TRACE level to chase integration test issues on CI servers
1010
log4j.logger.org.springframework.messaging.simp.stomp=TRACE
1111

0 commit comments

Comments
 (0)