Minor: rename ForkJoinPoolPatcherForTeamCityTesting -> ThreadTrackerPatcherForTeamCityTesting

(cherry picked from commit c6b128e)
This commit is contained in:
Nikolay Krasko
2016-09-22 19:43:31 +03:00
committed by Nikolay Krasko
parent 8c2e61604e
commit 87fb6dd3b8
2 changed files with 2 additions and 2 deletions
@@ -55,7 +55,7 @@ public class PluginStartupComponent implements ApplicationComponent {
registerPathVariable();
if (ApplicationManager.getApplication().isUnitTestMode()) {
ForkJoinPoolPatcherForTeamCityTesting.INSTANCE.patchThreadTracker();
ThreadTrackerPatcherForTeamCityTesting.INSTANCE.patchThreadTracker();
}
JarUserDataManager.INSTANCE.register(KotlinJavaScriptLibraryDetectionUtil.HasKotlinJSMetadataInJar.INSTANCE);
@@ -32,7 +32,7 @@ Standard names for ForkJoinPool threads doesn't pass ThreadTracker.checkLeak() c
As it's allowed to reorder tests on TeamCity and any test can be first at some point, this patch should be applied at
some common place.
*/
object ForkJoinPoolPatcherForTeamCityTesting {
object ThreadTrackerPatcherForTeamCityTesting {
private val patched = AtomicBoolean(false)
fun patchThreadTracker() {