mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
do not report long edt op in test mode
GitOrigin-RevId: 0e159fe6533c7e778f620fb9e4e11304d1d12abb
This commit is contained in:
committed by
intellij-monorepo-bot
parent
901ab35a48
commit
3d46700d8b
@@ -684,6 +684,7 @@ private fun reportSlowEdtOperation(action: Any,
|
||||
operationName: String,
|
||||
currentEDTPerformMillis: Long,
|
||||
edtTraces: List<Throwable>?) {
|
||||
if (application.isUnitTestMode) return
|
||||
var edtTraces1 = edtTraces
|
||||
val throwable: Throwable = PluginException.createByClass(
|
||||
elapsedReport(currentEDTPerformMillis, true, operationName) + REVISE_AUT_MSG_SUFFIX, null, action.javaClass)
|
||||
|
||||
Reference in New Issue
Block a user