Skip to content

Commit

Permalink
Test failure fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pandurangpatil committed Mar 6, 2024
1 parent 076148f commit 45296fd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ object TimeMetric {
stage: Option[String] = None
): (Double, Double, Double, Option[(Double, Double)]) = {
stage match {
case Some(st) =>
case Some(st) if stagePerformance.contains(st) =>
val numberProcessor = stagePerformance(st)
val (avgCpu, avgMemory) = numberProcessor.getAverage
val (maxCpu, maxMemory) = numberProcessor.getMax
Expand Down

0 comments on commit 45296fd

Please sign in to comment.