hadoop-hdds/container-service/src/test/java/org/apache/hadoop/ozone/container/common/ScmTestMock.java
public void reset() {
    heartbeatCount.set(0);
    rpcCount.set(0);
    reportState = ReportState.newBuilder()
        .setState(ReportState.states.noContainerReports)
        .setCount(0).build();
    containerReportsCount.set(0);
    nodeContainers.clear();

  }
/**
   * Reset the mock Scm for test to get a fresh start without rebuild MockScm.
   */
Reset the mock Scm for test to get a fresh start without rebuild MockScm.
Reset the mock Scm for test to get a fresh start without rebuild MockScm .
public void reset() {
    heartbeatCount.set(0);
    rpcCount.set(0);
    reportState = ReportState.newBuilder()
        .setState(ReportState.states.noContainerReports)
        .setCount(0).build();
    containerReportsCount.set(0);
    nodeContainers.clear();
  }
public void reset ( ) { heartbeatCount . set ( 0 ) ; rpcCount . set ( 0 ) ; reportState = ReportState . newBuilder ( ) . setState ( ReportState . states . noContainerReports ) . setCount ( 0 ) . build ( ) ; containerReportsCount . set ( 0 ) ; nodeContainers . clear ( ) ; }
Reset the mock Scm for test to get a fresh start without rebuild MockScm.
Reset the mock Scm for test to get a fresh start without rebuild MockScm .