Skip to content

Commit

Permalink
Updated assert
Browse files Browse the repository at this point in the history
  • Loading branch information
Nishtha Mehrotra committed Jan 15, 2025
1 parent edb74af commit 32cf10e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5119,7 +5119,7 @@ class MonitorDataSourcesIT : AlertingSingleNodeTestCase() {
} catch (e: Exception) {
e.message?.let {
assertTrue(
"Expected 0 hits for searchMonitorMetadata, got non-0 results.",
"Exception not returning GetWorkflow Action error ",
it.contains("Workflow not found.")
)
}
Expand All @@ -5142,7 +5142,7 @@ class MonitorDataSourcesIT : AlertingSingleNodeTestCase() {
} catch (e: Exception) {
e.message?.let {
assertTrue(
"Exception not returning searchMonitorMetadata error ",
"Expected 0 hits for searchMonitorMetadata, got non-0 results.",
it.contains("List is empty")
)
}
Expand Down

0 comments on commit 32cf10e

Please sign in to comment.