Polishing

This commit is contained in:
Sam Brannen
2023-06-11 16:32:16 +02:00
parent b4ba80b09e
commit f8a3253d12
3 changed files with 7 additions and 3 deletions

View File

@@ -45,13 +45,13 @@ import static org.springframework.test.context.cache.ContextCacheTestUtils.reset
*/
class ContextFailureThresholdTests {
private static final AtomicInteger passingLoadCount = new AtomicInteger(0);
private static final AtomicInteger failingLoadCount = new AtomicInteger(0);
private static final AtomicInteger passingLoadCount = new AtomicInteger();
private static final AtomicInteger failingLoadCount = new AtomicInteger();
@BeforeEach
@AfterEach
void resetFlag() {
void resetTestFixtures() {
resetContextCache();
passingLoadCount.set(0);
failingLoadCount.set(0);