NO-JIRA add expected MQTT threadgroup to test rule

This commit is contained in:
Justin Bertram 2017-12-08 11:31:27 -06:00
parent 46b642447c
commit 08106453b5
1 changed files with 1 additions and 1 deletions

View File

@ -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 {