Skip to content

Commit 4e01627

Browse files
committed
spotbugs
1 parent 7e1ec4c commit 4e01627

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

utils/test-utils/src/main/java/datadog/trace/test/util/DDJavaSpecification.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,16 @@ public class DDJavaSpecification {
5858
}
5959

6060
private static Boolean contextTestingAllowed;
61-
private static boolean isConfigInstanceModifiable = false;
62-
static boolean configModificationFailed = false;
61+
private static volatile boolean isConfigInstanceModifiable = false;
62+
static volatile boolean configModificationFailed = false;
6363

6464
protected static final TestEnvironmentVariables environmentVariables =
6565
TestEnvironmentVariables.setup();
6666

6767
private static Properties originalSystemProperties;
6868

6969
protected boolean assertThreadsEachCleanup = true;
70-
private boolean ignoreThreadCleanup;
70+
private volatile boolean ignoreThreadCleanup;
7171

7272
static void allowContextTesting() {
7373
if (contextTestingAllowed == null) {

0 commit comments

Comments
 (0)