Skip to content

Commit 38a4f23

Browse files
committed
Polishing
1 parent 6739ca8 commit 38a4f23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2022 the original author or authors.
2+
* Copyright 2002-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -272,7 +272,7 @@ public void publishEvent(Object event) {
272272

273273
public void expectBrokerAvailabilityEvent(boolean isBrokerAvailable) throws InterruptedException {
274274
BrokerAvailabilityEvent event = this.eventQueue.poll(20000, TimeUnit.MILLISECONDS);
275-
assertThat(event).as("Times out waiting for BrokerAvailabilityEvent[" + isBrokerAvailable + "]").isNotNull();
275+
assertThat(event).as("Timed out waiting for BrokerAvailabilityEvent[" + isBrokerAvailable + "]").isNotNull();
276276
assertThat(event.isBrokerAvailable()).isEqualTo(isBrokerAvailable);
277277
}
278278
}

0 commit comments

Comments
 (0)