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