Minor: rename ForkJoinPoolPatcherForTeamCityTesting -> ThreadTrackerPatcherForTeamCityTesting
(cherry picked from commit c6b128e)
This commit is contained in:
committed by
Nikolay Krasko
parent
8c2e61604e
commit
87fb6dd3b8
@@ -55,7 +55,7 @@ public class PluginStartupComponent implements ApplicationComponent {
|
|||||||
registerPathVariable();
|
registerPathVariable();
|
||||||
|
|
||||||
if (ApplicationManager.getApplication().isUnitTestMode()) {
|
if (ApplicationManager.getApplication().isUnitTestMode()) {
|
||||||
ForkJoinPoolPatcherForTeamCityTesting.INSTANCE.patchThreadTracker();
|
ThreadTrackerPatcherForTeamCityTesting.INSTANCE.patchThreadTracker();
|
||||||
}
|
}
|
||||||
|
|
||||||
JarUserDataManager.INSTANCE.register(KotlinJavaScriptLibraryDetectionUtil.HasKotlinJSMetadataInJar.INSTANCE);
|
JarUserDataManager.INSTANCE.register(KotlinJavaScriptLibraryDetectionUtil.HasKotlinJSMetadataInJar.INSTANCE);
|
||||||
|
|||||||
+1
-1
@@ -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
|
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.
|
some common place.
|
||||||
*/
|
*/
|
||||||
object ForkJoinPoolPatcherForTeamCityTesting {
|
object ThreadTrackerPatcherForTeamCityTesting {
|
||||||
private val patched = AtomicBoolean(false)
|
private val patched = AtomicBoolean(false)
|
||||||
|
|
||||||
fun patchThreadTracker() {
|
fun patchThreadTracker() {
|
||||||
Reference in New Issue
Block a user