Skip to content

Commit 31cbb14

Browse files
committed
feat : accept endpointsListener manually
1 parent 018a7b1 commit 31cbb14

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/test/java/com/linecorp/armeria/client/endpoint/healthcheck/HealthCheckedEndpointGroupTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -565,6 +565,7 @@ void cacheReflectsAttributeChanges() throws InterruptedException {
565565

566566
endpointGroup.whenReady().join();
567567
endpointGroup.addListener(endpointsListener, false);
568+
endpointsListener.accept(endpointGroup.endpoints());
568569

569570
await().untilAsserted(() -> assertThat(updateInvokedCounter).hasValue(1));
570571
// the counter should stay 1 after 1 second has passed

0 commit comments

Comments
 (0)