Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -748,6 +748,9 @@ void unregisterClosingAnOldSlotCannotUntrackTheReplacementRuntimeControl() throw
assertTrue(registry.slotRemoved.await(5, TimeUnit.SECONDS));

registry.reloadConfiguration();
// reloadConfiguration intentionally requests health asynchronously. Drain that request
// before taking the baseline so the post-close verification cannot reuse the same future.
registry.probeRemoteHealthAsync().join();
int probesBeforeOldClose = sharedTarget.probeCalls;
registry.allowOldClose.countDown();
unregister.join();
Expand Down
Loading