NO-JIRA add expected MQTT threadgroup to test rule
This commit is contained in:
parent
46b642447c
commit
08106453b5
|
@ -230,7 +230,7 @@ public class ThreadLeakCheckRule extends ExternalResource {
|
|||
} else if (threadName.contains("Abandoned connection cleanup thread")) {
|
||||
// MySQL Engine checks for abandoned connections
|
||||
return true;
|
||||
} else if (threadName.contains("hawtdispatch")) {
|
||||
} else if (threadName.contains("hawtdispatch") || (group != null && group.getName().contains("hawtdispatch"))) {
|
||||
// Static workers used by MQTT client.
|
||||
return true;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue