Skip to content

Commit

Permalink
reword cost-overrun message (#3175)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidangb authored Jan 27, 2025
1 parent badb0c6 commit 5a2211c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ trait SubmissionMonitor extends FutureSupport with LazyLogging with RawlsInstrum
datasource
.inTransaction { dataAccess =>
dataAccess.workflowQuery.saveMessages(
Seq(AttributeString("Cost limit reached. Workflow was aborted to prevent cost overrun.")),
Seq(AttributeString("Cost limit reached. Workflow was aborted to stay on budget.")),
workflowRec.id
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1560,7 +1560,7 @@ class SubmissionMonitorSpec(_system: ActorSystem)
.getOrElse(fail())
.messages
actualMessages should have size 1
actualMessages.head.value shouldBe "Cost limit reached. Workflow was aborted to prevent cost overrun."
actualMessages.head.value shouldBe "Cost limit reached. Workflow was aborted to stay on budget."
}

it should "handleOutputs which are unbound by ignoring them" in withDefaultTestDatabase {
Expand Down

0 comments on commit 5a2211c

Please sign in to comment.