do not report long edt op in test mode

GitOrigin-RevId: 0e159fe6533c7e778f620fb9e4e11304d1d12abb
This commit is contained in:
Gregory.Shrago
2024-10-17 22:59:19 +00:00
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)