Skip to content

Commit

Permalink
Merge branch 'master' into P2cLoadBalancer
Browse files Browse the repository at this point in the history
  • Loading branch information
HaiqiQin committed Mar 9, 2023
2 parents f480a5d + 8695376 commit b33e200
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ private void check(final String selectorId, final List<CommonUpstream> upstreamL
if (!commonUpstream.isStatus()) {
commonUpstream.setTimestamp(System.currentTimeMillis());
commonUpstream.setStatus(true);
PENDING_SYNC.add(commonUpstream.hashCode());
LOG.info("UpstreamCacheManager check success the url: {}, host: {} ", commonUpstream.getUpstreamUrl(), commonUpstream.getUpstreamHost());
}
return commonUpstream;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ public void testOnApplicationEvent() {
// hit `!registered.compareAndSet(false, true)`
springMvcClientEventListener.onApplicationEvent(contextRefreshedEvent);
portUtilsMockedStatic.close();
registerUtilsMockedStatic.close();
}

@Test
Expand Down

0 comments on commit b33e200

Please sign in to comment.