Skip to content

Commit 018a7b1

Browse files
committed
feat : addListener with notifyLatestValue false
1 parent b7e731d commit 018a7b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ void cacheReflectsAttributeChanges() throws InterruptedException {
564564
);
565565

566566
endpointGroup.whenReady().join();
567-
endpointGroup.addListener(endpointsListener, true);
567+
endpointGroup.addListener(endpointsListener, false);
568568

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

0 commit comments

Comments
 (0)