You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: randomizedtesting-jupiter/src/main/java/com/carrotsearch/randomizedtesting/jupiter/SystemThreadFilter.java
+11-1Lines changed: 11 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -22,8 +22,18 @@ public boolean test(Thread t) {
22
22
returntrue;
23
23
}
24
24
25
-
// These are some of the "known" threads that should be ignored.
26
25
vartName = t.getName();
26
+
27
+
// Intellij Idea attaches to forked test processes using jmx/rmi. This is asynchronous and
28
+
// unpredictable.
29
+
if (Boolean.getBoolean("intellij.debug.agent")) {
30
+
// JMX server connection timeout
31
+
if (tName.startsWith("JMX server connection timeout") || tName.startsWith("RMI TCP")) {
32
+
returntrue;
33
+
}
34
+
}
35
+
36
+
// These are some of the "known" threads that should be ignored.
0 commit comments