Skip to content

Commit

Permalink
Update AbstractResilience4jTemplateTest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
mercyblitz committed Jan 23, 2025
1 parent cf37fec commit b664374
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import io.github.resilience4j.circuitbreaker.CircuitBreakerRegistry;
import io.github.resilience4j.core.Registry;
import io.microsphere.logging.Logger;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;

Expand Down Expand Up @@ -119,4 +120,9 @@ public final void testLocalEntriesCache() {
E entry = this.template.getEntryFromCache(entryName);
assertNotNull(entry);
}

@AfterEach
public void destroy() {
this.template.destroy();
}
}

0 comments on commit b664374

Please sign in to comment.