Skip to content

Commit

Permalink
Updated error logs
Browse files Browse the repository at this point in the history
Signed-off-by: Nishtha Mehrotra <[email protected]>
  • Loading branch information
Nishtha Mehrotra committed Jan 16, 2025
1 parent bfaa80d commit 6f5b955
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5079,7 +5079,7 @@ class MonitorDataSourcesIT : AlertingSingleNodeTestCase() {
} catch (e: Exception) {
e.message?.let {
assertTrue(
"Exception not returning GetMonitor Action error ",
"Expected 0 hits for searchMonitorMetadata, got non-0 results.",
it.contains("List is empty")
)
}
Expand Down Expand Up @@ -5119,7 +5119,7 @@ class MonitorDataSourcesIT : AlertingSingleNodeTestCase() {
} catch (e: Exception) {
e.message?.let {
assertTrue(
"Exception not returning GetWorkflow Action error ",
"Expected 0 hits for searchMonitorMetadata, got non-0 results.",
it.contains("Workflow not found.")
)
}
Expand All @@ -5142,7 +5142,7 @@ class MonitorDataSourcesIT : AlertingSingleNodeTestCase() {
} catch (e: Exception) {
e.message?.let {
assertTrue(
"Exception not returning GetMonitor Action error ",
"Exception not returning searchMonitorMetadata error ",
it.contains("List is empty")
)
}
Expand Down

0 comments on commit 6f5b955

Please sign in to comment.