@After
    public void destroy() {
        FaultToleranceConfigManager.putAppConfig(APP_NAME1, null);
        FaultToleranceConfigManager.putAppConfig(APP_NAME2, null);

        InvocationStatFactory.destroy();

        FaultToleranceModule module = (FaultToleranceModule) ExtensionLoaderFactory.getExtensionLoader(Module.class)
            .getExtension("fault-tolerance");
        module.getRegulator().destroy();
    }
@author <a href=mailto:leizhiyuan@gmail.com>leizhiyuan</a>
fault/fault-tolerance/src/test/java/com/alipay/sofa/rpc/client/aft/FaultBaseTest.java