Skip to content

Commit

Permalink
[ISSUE alibaba#8515] fix ci error
Browse files Browse the repository at this point in the history
  • Loading branch information
onewe committed Jun 17, 2022
1 parent 717a084 commit 590b883
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ public class HttpHealthCheckProcessorTest {

@Before
public void setUp() {
EnvUtil.setEnvironment(new MockEnvironment());
when(switchDomain.getHttpHealthParams()).thenReturn(new SwitchDomain.HttpHealthParams());
when(healthCheckTaskV2.getClient()).thenReturn(ipPortBasedClient);
when(ipPortBasedClient.getInstancePublishInfo(service)).thenReturn(healthCheckInstancePublishInfo);
httpHealthCheckProcessor = new HttpHealthCheckProcessor(healthCheckCommon, switchDomain);
EnvUtil.setEnvironment(new MockEnvironment());
}

@Test
Expand Down

0 comments on commit 590b883

Please sign in to comment.