Attempt to fix failing CI builds
This commit is contained in:
parent
1c82ba425b
commit
1a50732daa
|
|
@ -75,7 +75,7 @@ public abstract class TestContextAnnotationUtils {
|
|||
private static final ConcurrentLruCache<Class<?>, EnclosingConfiguration> cachedEnclosingConfigurationModes =
|
||||
new ConcurrentLruCache<>(32, TestContextAnnotationUtils::lookUpEnclosingConfiguration);
|
||||
|
||||
private static EnclosingConfiguration defaultEnclosingConfigurationMode;
|
||||
private static volatile EnclosingConfiguration defaultEnclosingConfigurationMode;
|
||||
|
||||
/**
|
||||
* Find the first annotation of the specified {@code annotationType} within
|
||||
|
|
|
|||
|
|
@ -57,6 +57,7 @@ class TestContextAnnotationUtilsTests {
|
|||
class SearchEnclosingClassTests {
|
||||
|
||||
@BeforeEach
|
||||
@AfterEach
|
||||
void clearCaches() {
|
||||
TestContextAnnotationUtils.clearCaches();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue