From 1f39cad1b68a1408eb178cb7b3fa0ad43cd33c38 Mon Sep 17 00:00:00 2001 From: tomas mccandless Date: Tue, 24 Oct 2023 14:27:04 -0700 Subject: [PATCH] truncate spike filter test execution tag --- .../src/main/scala/com/workday/warp/arbiters/ArbiterLike.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/warp-core/src/main/scala/com/workday/warp/arbiters/ArbiterLike.scala b/warp-core/src/main/scala/com/workday/warp/arbiters/ArbiterLike.scala index a1833f2e..1055b3f4 100644 --- a/warp-core/src/main/scala/com/workday/warp/arbiters/ArbiterLike.scala +++ b/warp-core/src/main/scala/com/workday/warp/arbiters/ArbiterLike.scala @@ -47,7 +47,7 @@ trait ArbiterLike extends PersistenceAware with CanReadHistory { // tag this execution with failure reason // "failure-{class}", "message" maybeFailure.foreach { f => - val msg: String = Option(f.getMessage).getOrElse("null") + val msg: String = Option(f.getMessage).getOrElse("null").take(255) this.persistenceUtils.recordTestExecutionTag(testExecution.idTestExecution, tagName, msg) }