Skip to content

Commit

Permalink
close
Browse files Browse the repository at this point in the history
  • Loading branch information
CrazyHZM committed Aug 19, 2021
1 parent 2696700 commit c4d6671
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ public void setUp() throws Exception {
public void tearDown() throws IOException {
DubboBootstrap.reset();
zkServer.stop();
Mockito.framework().clearInlineMocks();

}

/**
Expand Down Expand Up @@ -405,8 +407,8 @@ public void testAppendConfig() {
Assertions.assertEquals(DemoService.class.getMethods().length,
StringUtils.split((String) serviceMetadata.getAttachments().get(METHODS_KEY), ',').length);

applicationModelMockedStatic.reset();
metadataReportInstanceMockedStatic.reset();
applicationModelMockedStatic.closeOnDemand();
metadataReportInstanceMockedStatic.closeOnDemand();
}

@Test
Expand Down

0 comments on commit c4d6671

Please sign in to comment.