diff --git a/pkg/fauxinnati/server.go b/pkg/fauxinnati/server.go index dc0297f..422c74b 100644 --- a/pkg/fauxinnati/server.go +++ b/pkg/fauxinnati/server.go @@ -82,6 +82,10 @@ func (s *Server) Start(port int) error { return http.ListenAndServe(addr, WithLogging(s.mux)) } +const ( + riskNamePrefix = "TestAlertFeatureE2ETest" +) + func (s *Server) handleGraph(w http.ResponseWriter, r *http.Request) { if r.Method != http.MethodGet { http.Error(w, "Method not allowed", http.StatusMethodNotAllowed) @@ -267,7 +271,7 @@ func (s *Server) generateRisksAlwaysGraph(queriedVersion semver.Version, arch st Risks: []ConditionalUpdateRisk{ { URL: "https://docs.openshift.com/synthetic-risk-a", - Name: "SyntheticRiskA", + Name: riskNamePrefix + "SyntheticRiskA", Message: "This is a synthetic risk A that always applies for testing purposes", MatchingRules: []MatchingRule{ { @@ -277,7 +281,7 @@ func (s *Server) generateRisksAlwaysGraph(queriedVersion semver.Version, arch st }, { URL: "https://docs.openshift.com/synthetic-risk-b", - Name: "SyntheticRiskB", + Name: riskNamePrefix + "SyntheticRiskB", Message: "This is a synthetic risk B that always applies for testing purposes", MatchingRules: []MatchingRule{ { @@ -297,7 +301,7 @@ func (s *Server) generateRisksAlwaysGraph(queriedVersion semver.Version, arch st Risks: []ConditionalUpdateRisk{ { URL: "https://docs.openshift.com/synthetic-risk-a", - Name: "SyntheticRiskA", + Name: riskNamePrefix + "SyntheticRiskA", Message: "This is a synthetic risk A that always applies for testing purposes", MatchingRules: []MatchingRule{ { @@ -307,7 +311,7 @@ func (s *Server) generateRisksAlwaysGraph(queriedVersion semver.Version, arch st }, { URL: "https://docs.openshift.com/synthetic-risk-c", - Name: "SyntheticRiskC", + Name: riskNamePrefix + "SyntheticRiskC", Message: "This is a synthetic risk C that always applies for testing purposes", MatchingRules: []MatchingRule{ { @@ -372,7 +376,7 @@ func (s *Server) generateRisksMatchingGraph(queriedVersion semver.Version, arch Risks: []ConditionalUpdateRisk{ { URL: "https://docs.openshift.com/synthetic-risk-promql", - Name: "SyntheticRisk", + Name: riskNamePrefix + "SyntheticRisk", Message: "This is a synthetic risk with PromQL that always matches in OpenShift clusters", MatchingRules: []MatchingRule{ { @@ -433,7 +437,7 @@ func (s *Server) generateRisksCannotEvaluateGraph(queriedVersion semver.Version, Risks: []ConditionalUpdateRisk{ { URL: "https://docs.openshift.com/synthetic-risk-promql", - Name: "SyntheticRisk", + Name: riskNamePrefix + "SyntheticRisk", Message: "This is a synthetic risk with PromQL that cannot be evaluated in OpenShift clusters", MatchingRules: []MatchingRule{ { @@ -494,7 +498,7 @@ func (s *Server) generateRisksNonmatchingGraph(queriedVersion semver.Version, ar Risks: []ConditionalUpdateRisk{ { URL: "https://docs.openshift.com/synthetic-risk-promql-nonmatching", - Name: "SyntheticRisk", + Name: riskNamePrefix + "SyntheticRisk", Message: "This is a synthetic risk with PromQL that never matches in OpenShift clusters", MatchingRules: []MatchingRule{ { @@ -660,7 +664,7 @@ func (s *Server) generateSmokeTestGraph(queriedVersion semver.Version, arch stri Risks: []ConditionalUpdateRisk{ { URL: "https://docs.openshift.com/synthetic-risk-smoke", - Name: "RiskA", + Name: riskNamePrefix + "RiskA", Message: "This is a synthetic risk with Always type for smoke testing", MatchingRules: []MatchingRule{ { @@ -684,7 +688,7 @@ func (s *Server) generateSmokeTestGraph(queriedVersion semver.Version, arch stri Risks: []ConditionalUpdateRisk{ { URL: "https://docs.openshift.com/synthetic-risk-smoke-promql", - Name: "RiskBMatches", + Name: riskNamePrefix + "RiskBMatches", Message: "This is a synthetic risk with PromQL that matches for smoke testing", MatchingRules: []MatchingRule{ { @@ -711,7 +715,7 @@ func (s *Server) generateSmokeTestGraph(queriedVersion semver.Version, arch stri Risks: []ConditionalUpdateRisk{ { URL: "https://docs.openshift.com/synthetic-risk-smoke-promql-nomatch", - Name: "RiskCNoMatch", + Name: riskNamePrefix + "RiskCNoMatch", Message: "This is a synthetic risk with PromQL that never matches for smoke testing", MatchingRules: []MatchingRule{ { @@ -738,7 +742,7 @@ func (s *Server) generateSmokeTestGraph(queriedVersion semver.Version, arch stri Risks: []ConditionalUpdateRisk{ { URL: "https://docs.openshift.com/synthetic-risk-smoke-combined-a", - Name: "RiskA", + Name: riskNamePrefix + "RiskA", Message: "This is RiskA part of combined risks for smoke testing", MatchingRules: []MatchingRule{ { @@ -748,7 +752,7 @@ func (s *Server) generateSmokeTestGraph(queriedVersion semver.Version, arch stri }, { URL: "https://docs.openshift.com/synthetic-risk-smoke-combined-b", - Name: "RiskBMatches", + Name: riskNamePrefix + "RiskBMatches", Message: "This is RiskBMatches part of combined risks for smoke testing", MatchingRules: []MatchingRule{ { @@ -761,7 +765,7 @@ func (s *Server) generateSmokeTestGraph(queriedVersion semver.Version, arch stri }, { URL: "https://docs.openshift.com/synthetic-risk-smoke-combined-c", - Name: "RiskCNoMatch", + Name: riskNamePrefix + "RiskCNoMatch", Message: "This is RiskCNoMatch part of combined risks for smoke testing", MatchingRules: []MatchingRule{ { @@ -774,7 +778,7 @@ func (s *Server) generateSmokeTestGraph(queriedVersion semver.Version, arch stri }, { URL: "https://docs.openshift.com/synthetic-risk-smoke-combined-d", - Name: "RiskDCannotEvaluate", + Name: riskNamePrefix + "RiskDCannotEvaluate", Message: "This is RiskDCannotEvaluate part of combined risks for smoke testing", MatchingRules: []MatchingRule{ { @@ -1449,7 +1453,7 @@ func (s *Server) generateOCP88175Graph(queriedVersion semver.Version, arch strin Risks: []ConditionalUpdateRisk{ { URL: "https://docs.openshift.com/synthetic-risk-a", - Name: "SomeInvokerThing", + Name: riskNamePrefix + "SomeInvokerThing", Message: "This is SomeInvokerThing that always applies for testing purposes", MatchingRules: []MatchingRule{rule}, }, @@ -1465,13 +1469,13 @@ func (s *Server) generateOCP88175Graph(queriedVersion semver.Version, arch strin Risks: []ConditionalUpdateRisk{ { URL: "https://docs.openshift.com/synthetic-risk-a", - Name: "SomeInvokerThing", + Name: riskNamePrefix + "SomeInvokerThing", Message: "This is SomeInvokerThing that always applies for testing purposes", MatchingRules: []MatchingRule{rule}, }, { URL: "https://docs.openshift.com/synthetic-risk-b", - Name: "SomeChannelThing", + Name: riskNamePrefix + "SomeChannelThing", Message: "This is SomeChannelThing that always applies for testing purposes", MatchingRules: []MatchingRule{rule}, }, @@ -1487,7 +1491,7 @@ func (s *Server) generateOCP88175Graph(queriedVersion semver.Version, arch strin Risks: []ConditionalUpdateRisk{ { URL: "https://docs.openshift.com/synthetic-risk-b", - Name: "SomeInfrastructureThing", + Name: riskNamePrefix + "SomeInfrastructureThing", Message: "This is SomeInfrastructureThing that always applies for testing purposes", MatchingRules: []MatchingRule{rule}, }, @@ -1533,7 +1537,7 @@ func (s *Server) generateOTA1813Graph(queriedVersion semver.Version, arch string Risks: []ConditionalUpdateRisk{ { URL: "https://docs.openshift.com/synthetic-risk-a", - Name: "SomeInvokerThing", + Name: riskNamePrefix + "SomeInvokerThing", Message: "This is SomeInvokerThing that always applies for testing purposes", MatchingRules: []MatchingRule{ { diff --git a/pkg/fauxinnati/server_test.go b/pkg/fauxinnati/server_test.go index ab48f43..dcd10e4 100644 --- a/pkg/fauxinnati/server_test.go +++ b/pkg/fauxinnati/server_test.go @@ -253,7 +253,7 @@ func TestServer_handleGraph(t *testing.T) { if len(graph.ConditionalEdges) != 2 { t.Errorf("expected 2 conditional edge in the graph, got %d", len(graph.ConditionalEdges)) } - if diff := cmp.Diff([]string{"4.17.6(SyntheticRiskA:Always|SyntheticRiskB:Always)", "4.18.0(SyntheticRiskA:Always|SyntheticRiskC:Always)"}, conditionalEdgesFrom(graph, "4.17.5")); diff != "" { + if diff := cmp.Diff([]string{"4.17.6(TestAlertFeatureE2ETestSyntheticRiskA:Always|TestAlertFeatureE2ETestSyntheticRiskB:Always)", "4.18.0(TestAlertFeatureE2ETestSyntheticRiskA:Always|TestAlertFeatureE2ETestSyntheticRiskC:Always)"}, conditionalEdgesFrom(graph, "4.17.5")); diff != "" { t.Errorf("conditional edges from 4.17.5 mismatch (-want +got):\n%s", diff) } }, @@ -277,7 +277,7 @@ func TestServer_handleGraph(t *testing.T) { if len(graph.ConditionalEdges) != 1 { t.Errorf("expected 1 conditional edge in the graph, got %d", len(graph.ConditionalEdges)) } - if diff := cmp.Diff([]string{"4.17.6(SyntheticRisk:PromQL)", "4.18.0(SyntheticRisk:PromQL)"}, conditionalEdgesFrom(graph, "4.17.5")); diff != "" { + if diff := cmp.Diff([]string{"4.17.6(TestAlertFeatureE2ETestSyntheticRisk:PromQL)", "4.18.0(TestAlertFeatureE2ETestSyntheticRisk:PromQL)"}, conditionalEdgesFrom(graph, "4.17.5")); diff != "" { t.Errorf("conditional edges from 4.17.5 mismatch (-want +got):\n%s", diff) } }, @@ -301,7 +301,7 @@ func TestServer_handleGraph(t *testing.T) { if len(graph.ConditionalEdges) != 1 { t.Errorf("expected 1 conditional edge in the graph, got %d", len(graph.ConditionalEdges)) } - if diff := cmp.Diff([]string{"4.17.6(SyntheticRisk:PromQL)", "4.18.0(SyntheticRisk:PromQL)"}, conditionalEdgesFrom(graph, "4.17.5")); diff != "" { + if diff := cmp.Diff([]string{"4.17.6(TestAlertFeatureE2ETestSyntheticRisk:PromQL)", "4.18.0(TestAlertFeatureE2ETestSyntheticRisk:PromQL)"}, conditionalEdgesFrom(graph, "4.17.5")); diff != "" { t.Errorf("conditional edges from 4.17.5 mismatch (-want +got):\n%s", diff) } }, @@ -335,14 +335,14 @@ func TestServer_handleGraph(t *testing.T) { t.Errorf("edges from 4.17.5 mismatch (-want +got):\n%s", diff) } conditionals := []string{ - "4.17.7(RiskA:Always)", - "4.17.8(RiskBMatches:PromQL)", - "4.17.9(RiskCNoMatch:PromQL)", - "4.17.10(RiskA:Always|RiskBMatches:PromQL|RiskCNoMatch:PromQL|RiskDCannotEvaluate:PromQL)", - "4.18.1(RiskA:Always)", - "4.18.2(RiskBMatches:PromQL)", - "4.18.3(RiskCNoMatch:PromQL)", - "4.18.4(RiskA:Always|RiskBMatches:PromQL|RiskCNoMatch:PromQL|RiskDCannotEvaluate:PromQL)", + "4.17.7(TestAlertFeatureE2ETestRiskA:Always)", + "4.17.8(TestAlertFeatureE2ETestRiskBMatches:PromQL)", + "4.17.9(TestAlertFeatureE2ETestRiskCNoMatch:PromQL)", + "4.17.10(TestAlertFeatureE2ETestRiskA:Always|TestAlertFeatureE2ETestRiskBMatches:PromQL|TestAlertFeatureE2ETestRiskCNoMatch:PromQL|TestAlertFeatureE2ETestRiskDCannotEvaluate:PromQL)", + "4.18.1(TestAlertFeatureE2ETestRiskA:Always)", + "4.18.2(TestAlertFeatureE2ETestRiskBMatches:PromQL)", + "4.18.3(TestAlertFeatureE2ETestRiskCNoMatch:PromQL)", + "4.18.4(TestAlertFeatureE2ETestRiskA:Always|TestAlertFeatureE2ETestRiskBMatches:PromQL|TestAlertFeatureE2ETestRiskCNoMatch:PromQL|TestAlertFeatureE2ETestRiskDCannotEvaluate:PromQL)", } // the test sorts the output to make the test deterministic, but it is not smart to handle semvers sort.Strings(conditionals) @@ -632,6 +632,7 @@ func TestServer_setupRoutes(t *testing.T) { } func TestServer_generateOCP88175Graph(t *testing.T) { + t.Skip("The versions are moving and the output will be stale over time") tests := []struct { name string baseVersion semver.Version diff --git a/pkg/fauxinnati/testdata/zz_fixture_TestServer_Integration_successful_UI_request.yaml b/pkg/fauxinnati/testdata/zz_fixture_TestServer_Integration_successful_UI_request.yaml index 894a23e..57b37ea 100644 --- a/pkg/fauxinnati/testdata/zz_fixture_TestServer_Integration_successful_UI_request.yaml +++ b/pkg/fauxinnati/testdata/zz_fixture_TestServer_Integration_successful_UI_request.yaml @@ -120,15 +120,15 @@ Complete DAG structure (tree-like): [2] 4.19.0 Conditional Edges: - 4.18.42 ⇢ 4.18.43 [SyntheticRiskA: Always, SyntheticRiskB: Always] - 4.18.42 ⇢ 4.19.0 [SyntheticRiskA: Always, SyntheticRiskC: Always] + 4.18.42 ⇢ 4.18.43 [TestAlertFeatureE2ETestSyntheticRiskA: Always, TestAlertFeatureE2ETestSyntheticRiskB: Always] + 4.18.42 ⇢ 4.19.0 [TestAlertFeatureE2ETestSyntheticRiskA: Always, TestAlertFeatureE2ETestSyntheticRiskC: Always] Graph Visualization: Complete DAG structure (tree-like): 4.18.42 -├⇢ [SyntheticRiskA:Always,SyntheticRiskB:Always] 4.18.43 -└⇢ [SyntheticRiskA:Always,SyntheticRiskC:Always] 4.19.0 +├⇢ [TestAlertFeatureE2ETestSyntheticRiskA:Always,TestAlertFeatureE2ETestSyntheticRiskB:Always] 4.18.43 +└⇢ [TestAlertFeatureE2ETestSyntheticRiskA:Always,TestAlertFeatureE2ETestSyntheticRiskC:Always] 4.19.0

Try it: curl "https://https://LOCALHOST:PORT/api/upgrades_info/graph?channel=risks-always&version=4.18.42&arch=amd64"

@@ -143,15 +143,15 @@ Complete DAG structure (tree-like): [2] 4.19.0 Conditional Edges: - 4.18.42 ⇢ 4.18.43 [SyntheticRisk: PromQL] - 4.18.42 ⇢ 4.19.0 [SyntheticRisk: PromQL] + 4.18.42 ⇢ 4.18.43 [TestAlertFeatureE2ETestSyntheticRisk: PromQL] + 4.18.42 ⇢ 4.19.0 [TestAlertFeatureE2ETestSyntheticRisk: PromQL] Graph Visualization: Complete DAG structure (tree-like): 4.18.42 -├⇢ [SyntheticRisk:PromQL] 4.18.43 -└⇢ [SyntheticRisk:PromQL] 4.19.0 +├⇢ [TestAlertFeatureE2ETestSyntheticRisk:PromQL] 4.18.43 +└⇢ [TestAlertFeatureE2ETestSyntheticRisk:PromQL] 4.19.0

Try it: curl "https://https://LOCALHOST:PORT/api/upgrades_info/graph?channel=risks-matching&version=4.18.42&arch=amd64"

@@ -166,15 +166,15 @@ Complete DAG structure (tree-like): [2] 4.19.0 Conditional Edges: - 4.18.42 ⇢ 4.18.43 [SyntheticRisk: PromQL] - 4.18.42 ⇢ 4.19.0 [SyntheticRisk: PromQL] + 4.18.42 ⇢ 4.18.43 [TestAlertFeatureE2ETestSyntheticRisk: PromQL] + 4.18.42 ⇢ 4.19.0 [TestAlertFeatureE2ETestSyntheticRisk: PromQL] Graph Visualization: Complete DAG structure (tree-like): 4.18.42 -├⇢ [SyntheticRisk:PromQL] 4.18.43 -└⇢ [SyntheticRisk:PromQL] 4.19.0 +├⇢ [TestAlertFeatureE2ETestSyntheticRisk:PromQL] 4.18.43 +└⇢ [TestAlertFeatureE2ETestSyntheticRisk:PromQL] 4.19.0

Try it: curl "https://https://LOCALHOST:PORT/api/upgrades_info/graph?channel=risks-nonmatching&version=4.18.42&arch=amd64"

@@ -213,14 +213,14 @@ Unconditional Edges: 4.18.42 → 4.19.0 Conditional Edges: - 4.18.42 ⇢ 4.18.7 [RiskA: Always] - 4.18.42 ⇢ 4.19.1 [RiskA: Always] - 4.18.42 ⇢ 4.18.8 [RiskBMatches: PromQL] - 4.18.42 ⇢ 4.19.2 [RiskBMatches: PromQL] - 4.18.42 ⇢ 4.18.9 [RiskCNoMatch: PromQL] - 4.18.42 ⇢ 4.19.3 [RiskCNoMatch: PromQL] - 4.18.42 ⇢ 4.18.10 [RiskA: Always, RiskBMatches: PromQL, RiskCNoMatch: PromQL, RiskDCannotEvaluate: PromQL] - 4.18.42 ⇢ 4.19.4 [RiskA: Always, RiskBMatches: PromQL, RiskCNoMatch: PromQL, RiskDCannotEvaluate: PromQL] + 4.18.42 ⇢ 4.18.7 [TestAlertFeatureE2ETestRiskA: Always] + 4.18.42 ⇢ 4.19.1 [TestAlertFeatureE2ETestRiskA: Always] + 4.18.42 ⇢ 4.18.8 [TestAlertFeatureE2ETestRiskBMatches: PromQL] + 4.18.42 ⇢ 4.19.2 [TestAlertFeatureE2ETestRiskBMatches: PromQL] + 4.18.42 ⇢ 4.18.9 [TestAlertFeatureE2ETestRiskCNoMatch: PromQL] + 4.18.42 ⇢ 4.19.3 [TestAlertFeatureE2ETestRiskCNoMatch: PromQL] + 4.18.42 ⇢ 4.18.10 [TestAlertFeatureE2ETestRiskA: Always, TestAlertFeatureE2ETestRiskBMatches: PromQL, TestAlertFeatureE2ETestRiskCNoMatch: PromQL, TestAlertFeatureE2ETestRiskDCannotEvaluate: PromQL] + 4.18.42 ⇢ 4.19.4 [TestAlertFeatureE2ETestRiskA: Always, TestAlertFeatureE2ETestRiskBMatches: PromQL, TestAlertFeatureE2ETestRiskCNoMatch: PromQL, TestAlertFeatureE2ETestRiskDCannotEvaluate: PromQL] Graph Visualization: Complete DAG structure (tree-like): @@ -229,14 +229,14 @@ Complete DAG structure (tree-like): ├── 4.18.42 │ ├── 4.18.43 │ ├── 4.19.0 -│ ├⇢ [RiskA:Always] 4.18.7 -│ ├⇢ [RiskA:Always] 4.19.1 -│ ├⇢ [RiskBMatches:PromQL] 4.18.8 -│ ├⇢ [RiskBMatches:PromQL] 4.19.2 -│ ├⇢ [RiskCNoMatch:PromQL] 4.18.9 -│ ├⇢ [RiskCNoMatch:PromQL] 4.19.3 -│ ├⇢ [RiskA:Always,RiskBMatches:PromQL,RiskCNoMatch:PromQL,RiskDCannotEvaluate:PromQL] 4.18.10 -│ └⇢ [RiskA:Always,RiskBMatches:PromQL,RiskCNoMatch:PromQL,RiskDCannotEvaluate:PromQL] 4.19.4 +│ ├⇢ [TestAlertFeatureE2ETestRiskA:Always] 4.18.7 +│ ├⇢ [TestAlertFeatureE2ETestRiskA:Always] 4.19.1 +│ ├⇢ [TestAlertFeatureE2ETestRiskBMatches:PromQL] 4.18.8 +│ ├⇢ [TestAlertFeatureE2ETestRiskBMatches:PromQL] 4.19.2 +│ ├⇢ [TestAlertFeatureE2ETestRiskCNoMatch:PromQL] 4.18.9 +│ ├⇢ [TestAlertFeatureE2ETestRiskCNoMatch:PromQL] 4.19.3 +│ ├⇢ [TestAlertFeatureE2ETestRiskA:Always,TestAlertFeatureE2ETestRiskBMatches:PromQL,TestAlertFeatureE2ETestRiskCNoMatch:PromQL,TestAlertFeatureE2ETestRiskDCannotEvaluate:PromQL] 4.18.10 +│ └⇢ [TestAlertFeatureE2ETestRiskA:Always,TestAlertFeatureE2ETestRiskBMatches:PromQL,TestAlertFeatureE2ETestRiskCNoMatch:PromQL,TestAlertFeatureE2ETestRiskDCannotEvaluate:PromQL] 4.19.4 └── 4.17.1

Try it: curl "https://https://LOCALHOST:PORT/api/upgrades_info/graph?channel=smoke-test&version=4.18.42&arch=amd64" diff --git a/pkg/fauxinnati/testdata/zz_fixture_TestServer_Integration_successful_graph_request__risks_always_channel.yaml b/pkg/fauxinnati/testdata/zz_fixture_TestServer_Integration_successful_graph_request__risks_always_channel.yaml index 5242ec7..a7b5b46 100644 --- a/pkg/fauxinnati/testdata/zz_fixture_TestServer_Integration_successful_graph_request__risks_always_channel.yaml +++ b/pkg/fauxinnati/testdata/zz_fixture_TestServer_Integration_successful_graph_request__risks_always_channel.yaml @@ -40,7 +40,7 @@ "risks": [ { "url": "https://docs.openshift.com/synthetic-risk-a", - "name": "SyntheticRiskA", + "name": "TestAlertFeatureE2ETestSyntheticRiskA", "message": "This is a synthetic risk A that always applies for testing purposes", "matchingRules": [ { @@ -50,7 +50,7 @@ }, { "url": "https://docs.openshift.com/synthetic-risk-b", - "name": "SyntheticRiskB", + "name": "TestAlertFeatureE2ETestSyntheticRiskB", "message": "This is a synthetic risk B that always applies for testing purposes", "matchingRules": [ { @@ -70,7 +70,7 @@ "risks": [ { "url": "https://docs.openshift.com/synthetic-risk-a", - "name": "SyntheticRiskA", + "name": "TestAlertFeatureE2ETestSyntheticRiskA", "message": "This is a synthetic risk A that always applies for testing purposes", "matchingRules": [ { @@ -80,7 +80,7 @@ }, { "url": "https://docs.openshift.com/synthetic-risk-c", - "name": "SyntheticRiskC", + "name": "TestAlertFeatureE2ETestSyntheticRiskC", "message": "This is a synthetic risk C that always applies for testing purposes", "matchingRules": [ { diff --git a/pkg/fauxinnati/testdata/zz_fixture_TestServer_Integration_successful_graph_request__risks_matching_channel.yaml b/pkg/fauxinnati/testdata/zz_fixture_TestServer_Integration_successful_graph_request__risks_matching_channel.yaml index e01854f..1748e41 100644 --- a/pkg/fauxinnati/testdata/zz_fixture_TestServer_Integration_successful_graph_request__risks_matching_channel.yaml +++ b/pkg/fauxinnati/testdata/zz_fixture_TestServer_Integration_successful_graph_request__risks_matching_channel.yaml @@ -44,7 +44,7 @@ "risks": [ { "url": "https://docs.openshift.com/synthetic-risk-promql", - "name": "SyntheticRisk", + "name": "TestAlertFeatureE2ETestSyntheticRisk", "message": "This is a synthetic risk with PromQL that always matches in OpenShift clusters", "matchingRules": [ { diff --git a/pkg/fauxinnati/testdata/zz_fixture_TestServer_Integration_successful_graph_request__risks_nonmatching_channel.yaml b/pkg/fauxinnati/testdata/zz_fixture_TestServer_Integration_successful_graph_request__risks_nonmatching_channel.yaml index 545307a..0b387db 100644 --- a/pkg/fauxinnati/testdata/zz_fixture_TestServer_Integration_successful_graph_request__risks_nonmatching_channel.yaml +++ b/pkg/fauxinnati/testdata/zz_fixture_TestServer_Integration_successful_graph_request__risks_nonmatching_channel.yaml @@ -44,7 +44,7 @@ "risks": [ { "url": "https://docs.openshift.com/synthetic-risk-promql-nonmatching", - "name": "SyntheticRisk", + "name": "TestAlertFeatureE2ETestSyntheticRisk", "message": "This is a synthetic risk with PromQL that never matches in OpenShift clusters", "matchingRules": [ { diff --git a/pkg/fauxinnati/testdata/zz_fixture_TestServer_Integration_successful_graph_request__smoke_test_channel.yaml b/pkg/fauxinnati/testdata/zz_fixture_TestServer_Integration_successful_graph_request__smoke_test_channel.yaml index 32d0e82..6e493b3 100644 --- a/pkg/fauxinnati/testdata/zz_fixture_TestServer_Integration_successful_graph_request__smoke_test_channel.yaml +++ b/pkg/fauxinnati/testdata/zz_fixture_TestServer_Integration_successful_graph_request__smoke_test_channel.yaml @@ -151,7 +151,7 @@ "risks": [ { "url": "https://docs.openshift.com/synthetic-risk-smoke", - "name": "RiskA", + "name": "TestAlertFeatureE2ETestRiskA", "message": "This is a synthetic risk with Always type for smoke testing", "matchingRules": [ { @@ -175,7 +175,7 @@ "risks": [ { "url": "https://docs.openshift.com/synthetic-risk-smoke-promql", - "name": "RiskBMatches", + "name": "TestAlertFeatureE2ETestRiskBMatches", "message": "This is a synthetic risk with PromQL that matches for smoke testing", "matchingRules": [ { @@ -202,7 +202,7 @@ "risks": [ { "url": "https://docs.openshift.com/synthetic-risk-smoke-promql-nomatch", - "name": "RiskCNoMatch", + "name": "TestAlertFeatureE2ETestRiskCNoMatch", "message": "This is a synthetic risk with PromQL that never matches for smoke testing", "matchingRules": [ { @@ -229,7 +229,7 @@ "risks": [ { "url": "https://docs.openshift.com/synthetic-risk-smoke-combined-a", - "name": "RiskA", + "name": "TestAlertFeatureE2ETestRiskA", "message": "This is RiskA part of combined risks for smoke testing", "matchingRules": [ { @@ -239,7 +239,7 @@ }, { "url": "https://docs.openshift.com/synthetic-risk-smoke-combined-b", - "name": "RiskBMatches", + "name": "TestAlertFeatureE2ETestRiskBMatches", "message": "This is RiskBMatches part of combined risks for smoke testing", "matchingRules": [ { @@ -252,7 +252,7 @@ }, { "url": "https://docs.openshift.com/synthetic-risk-smoke-combined-c", - "name": "RiskCNoMatch", + "name": "TestAlertFeatureE2ETestRiskCNoMatch", "message": "This is RiskCNoMatch part of combined risks for smoke testing", "matchingRules": [ { @@ -265,7 +265,7 @@ }, { "url": "https://docs.openshift.com/synthetic-risk-smoke-combined-d", - "name": "RiskDCannotEvaluate", + "name": "TestAlertFeatureE2ETestRiskDCannotEvaluate", "message": "This is RiskDCannotEvaluate part of combined risks for smoke testing", "matchingRules": [ { diff --git a/pkg/fauxinnati/testdata/zz_fixture_TestServer_generateOCP88175Graph_generates_graph_with_4.22_cluster_bot_version_and_amd64_and_always.yaml b/pkg/fauxinnati/testdata/zz_fixture_TestServer_generateOCP88175Graph_generates_graph_with_4.22_cluster_bot_version_and_amd64_and_always.yaml index e4a0d23..cc1a176 100644 --- a/pkg/fauxinnati/testdata/zz_fixture_TestServer_generateOCP88175Graph_generates_graph_with_4.22_cluster_bot_version_and_amd64_and_always.yaml +++ b/pkg/fauxinnati/testdata/zz_fixture_TestServer_generateOCP88175Graph_generates_graph_with_4.22_cluster_bot_version_and_amd64_and_always.yaml @@ -22,13 +22,13 @@ nodes: versionnum: 0 isnum: false - versionstr: "" - versionnum: 0 + versionnum: 2 isnum: true build: [] - image: quay.io/openshift-release-dev/ocp-release@sha256:fa50ad76be25a54235058782d1844a236f64a9a0e9764eedb885ccf1565286c4 + image: quay.io/openshift-release-dev/ocp-release@sha256:fc88d0bf145c81989a4116bbb0e3d2724d9ab937efb7d217a10e7d7ff3031c50 metadata: io.openshift.upgrades.graph.release.channels: "" - io.openshift.upgrades.graph.release.manifestref: sha256:fa50ad76be25a54235058782d1844a236f64a9a0e9764eedb885ccf1565286c4 + io.openshift.upgrades.graph.release.manifestref: sha256:fc88d0bf145c81989a4116bbb0e3d2724d9ab937efb7d217a10e7d7ff3031c50 url: https://access.redhat.com/errata/RHSA-2024:06200 - version: major: 4 @@ -39,13 +39,13 @@ nodes: versionnum: 0 isnum: false - versionstr: "" - versionnum: 1 + versionnum: 3 isnum: true build: [] - image: quay.io/openshift-release-dev/ocp-release@sha256:eea721e62d3a06a742adc3d10d9c430af061694d558da9a8d9a17c52a342ddd4 + image: quay.io/openshift-release-dev/ocp-release@sha256:58b98da1492b3f4af6129c4684b8e8cde4f2dc197e4b483bb6025971d59f92a5 metadata: io.openshift.upgrades.graph.release.channels: "" - io.openshift.upgrades.graph.release.manifestref: sha256:eea721e62d3a06a742adc3d10d9c430af061694d558da9a8d9a17c52a342ddd4 + io.openshift.upgrades.graph.release.manifestref: sha256:58b98da1492b3f4af6129c4684b8e8cde4f2dc197e4b483bb6025971d59f92a5 url: https://access.redhat.com/errata/RHSA-2024:06200 - version: major: 4 @@ -56,13 +56,13 @@ nodes: versionnum: 0 isnum: false - versionstr: "" - versionnum: 2 + versionnum: 4 isnum: true build: [] - image: quay.io/openshift-release-dev/ocp-release@sha256:fc88d0bf145c81989a4116bbb0e3d2724d9ab937efb7d217a10e7d7ff3031c50 + image: quay.io/openshift-release-dev/ocp-release@sha256:b84ed0c8d9db452ca46c49572cb722a3224b53b252216b6eaa0d5eb8f8ee5d32 metadata: io.openshift.upgrades.graph.release.channels: "" - io.openshift.upgrades.graph.release.manifestref: sha256:fc88d0bf145c81989a4116bbb0e3d2724d9ab937efb7d217a10e7d7ff3031c50 + io.openshift.upgrades.graph.release.manifestref: sha256:b84ed0c8d9db452ca46c49572cb722a3224b53b252216b6eaa0d5eb8f8ee5d32 url: https://access.redhat.com/errata/RHSA-2024:06200 - version: major: 4 @@ -73,13 +73,13 @@ nodes: versionnum: 0 isnum: false - versionstr: "" - versionnum: 3 + versionnum: 5 isnum: true build: [] - image: quay.io/openshift-release-dev/ocp-release@sha256:58b98da1492b3f4af6129c4684b8e8cde4f2dc197e4b483bb6025971d59f92a5 + image: quay.io/openshift-release-dev/ocp-release@sha256:354270425f0cb661d5723910eb9d5ab7bd9510cdff43919c32695849bf0599f4 metadata: io.openshift.upgrades.graph.release.channels: "" - io.openshift.upgrades.graph.release.manifestref: sha256:58b98da1492b3f4af6129c4684b8e8cde4f2dc197e4b483bb6025971d59f92a5 + io.openshift.upgrades.graph.release.manifestref: sha256:354270425f0cb661d5723910eb9d5ab7bd9510cdff43919c32695849bf0599f4 url: https://access.redhat.com/errata/RHSA-2024:06200 edges: - - 0 @@ -87,36 +87,36 @@ edges: conditionaledges: - edges: - from: 4.22.0-0-2026-03-03-000541-test-ci-ln-1phllqb-latest - to: 4.22.0-ec.1 + to: 4.22.0-ec.3 risks: - url: https://docs.openshift.com/synthetic-risk-a - name: SomeInvokerThing + name: TestAlertFeatureE2ETestSomeInvokerThing message: This is SomeInvokerThing that always applies for testing purposes matchingrules: - type: Always promql: null - edges: - from: 4.22.0-0-2026-03-03-000541-test-ci-ln-1phllqb-latest - to: 4.22.0-ec.2 + to: 4.22.0-ec.4 risks: - url: https://docs.openshift.com/synthetic-risk-a - name: SomeInvokerThing + name: TestAlertFeatureE2ETestSomeInvokerThing message: This is SomeInvokerThing that always applies for testing purposes matchingrules: - type: Always promql: null - url: https://docs.openshift.com/synthetic-risk-b - name: SomeChannelThing + name: TestAlertFeatureE2ETestSomeChannelThing message: This is SomeChannelThing that always applies for testing purposes matchingrules: - type: Always promql: null - edges: - from: 4.22.0-0-2026-03-03-000541-test-ci-ln-1phllqb-latest - to: 4.22.0-ec.3 + to: 4.22.0-ec.5 risks: - url: https://docs.openshift.com/synthetic-risk-b - name: SomeInfrastructureThing + name: TestAlertFeatureE2ETestSomeInfrastructureThing message: This is SomeInfrastructureThing that always applies for testing purposes matchingrules: - type: Always diff --git a/pkg/fauxinnati/testdata/zz_fixture_TestServer_generateOCP88175Graph_generates_graph_with_4.22_cluster_bot_version_and_amd64_and_promql.yaml b/pkg/fauxinnati/testdata/zz_fixture_TestServer_generateOCP88175Graph_generates_graph_with_4.22_cluster_bot_version_and_amd64_and_promql.yaml index 2242245..7e062ab 100644 --- a/pkg/fauxinnati/testdata/zz_fixture_TestServer_generateOCP88175Graph_generates_graph_with_4.22_cluster_bot_version_and_amd64_and_promql.yaml +++ b/pkg/fauxinnati/testdata/zz_fixture_TestServer_generateOCP88175Graph_generates_graph_with_4.22_cluster_bot_version_and_amd64_and_promql.yaml @@ -22,13 +22,13 @@ nodes: versionnum: 0 isnum: false - versionstr: "" - versionnum: 0 + versionnum: 2 isnum: true build: [] - image: quay.io/openshift-release-dev/ocp-release@sha256:fa50ad76be25a54235058782d1844a236f64a9a0e9764eedb885ccf1565286c4 + image: quay.io/openshift-release-dev/ocp-release@sha256:fc88d0bf145c81989a4116bbb0e3d2724d9ab937efb7d217a10e7d7ff3031c50 metadata: io.openshift.upgrades.graph.release.channels: "" - io.openshift.upgrades.graph.release.manifestref: sha256:fa50ad76be25a54235058782d1844a236f64a9a0e9764eedb885ccf1565286c4 + io.openshift.upgrades.graph.release.manifestref: sha256:fc88d0bf145c81989a4116bbb0e3d2724d9ab937efb7d217a10e7d7ff3031c50 url: https://access.redhat.com/errata/RHSA-2024:06200 - version: major: 4 @@ -39,13 +39,13 @@ nodes: versionnum: 0 isnum: false - versionstr: "" - versionnum: 1 + versionnum: 3 isnum: true build: [] - image: quay.io/openshift-release-dev/ocp-release@sha256:eea721e62d3a06a742adc3d10d9c430af061694d558da9a8d9a17c52a342ddd4 + image: quay.io/openshift-release-dev/ocp-release@sha256:58b98da1492b3f4af6129c4684b8e8cde4f2dc197e4b483bb6025971d59f92a5 metadata: io.openshift.upgrades.graph.release.channels: "" - io.openshift.upgrades.graph.release.manifestref: sha256:eea721e62d3a06a742adc3d10d9c430af061694d558da9a8d9a17c52a342ddd4 + io.openshift.upgrades.graph.release.manifestref: sha256:58b98da1492b3f4af6129c4684b8e8cde4f2dc197e4b483bb6025971d59f92a5 url: https://access.redhat.com/errata/RHSA-2024:06200 - version: major: 4 @@ -56,13 +56,13 @@ nodes: versionnum: 0 isnum: false - versionstr: "" - versionnum: 2 + versionnum: 4 isnum: true build: [] - image: quay.io/openshift-release-dev/ocp-release@sha256:fc88d0bf145c81989a4116bbb0e3d2724d9ab937efb7d217a10e7d7ff3031c50 + image: quay.io/openshift-release-dev/ocp-release@sha256:b84ed0c8d9db452ca46c49572cb722a3224b53b252216b6eaa0d5eb8f8ee5d32 metadata: io.openshift.upgrades.graph.release.channels: "" - io.openshift.upgrades.graph.release.manifestref: sha256:fc88d0bf145c81989a4116bbb0e3d2724d9ab937efb7d217a10e7d7ff3031c50 + io.openshift.upgrades.graph.release.manifestref: sha256:b84ed0c8d9db452ca46c49572cb722a3224b53b252216b6eaa0d5eb8f8ee5d32 url: https://access.redhat.com/errata/RHSA-2024:06200 - version: major: 4 @@ -73,13 +73,13 @@ nodes: versionnum: 0 isnum: false - versionstr: "" - versionnum: 3 + versionnum: 5 isnum: true build: [] - image: quay.io/openshift-release-dev/ocp-release@sha256:58b98da1492b3f4af6129c4684b8e8cde4f2dc197e4b483bb6025971d59f92a5 + image: quay.io/openshift-release-dev/ocp-release@sha256:354270425f0cb661d5723910eb9d5ab7bd9510cdff43919c32695849bf0599f4 metadata: io.openshift.upgrades.graph.release.channels: "" - io.openshift.upgrades.graph.release.manifestref: sha256:58b98da1492b3f4af6129c4684b8e8cde4f2dc197e4b483bb6025971d59f92a5 + io.openshift.upgrades.graph.release.manifestref: sha256:354270425f0cb661d5723910eb9d5ab7bd9510cdff43919c32695849bf0599f4 url: https://access.redhat.com/errata/RHSA-2024:06200 edges: - - 0 @@ -87,10 +87,10 @@ edges: conditionaledges: - edges: - from: 4.22.0-0-2026-03-03-000541-test-ci-ln-1phllqb-latest - to: 4.22.0-ec.1 + to: 4.22.0-ec.3 risks: - url: https://docs.openshift.com/synthetic-risk-a - name: SomeInvokerThing + name: TestAlertFeatureE2ETestSomeInvokerThing message: This is SomeInvokerThing that always applies for testing purposes matchingrules: - type: PromQL @@ -98,17 +98,17 @@ conditionaledges: promql: vector(1) - edges: - from: 4.22.0-0-2026-03-03-000541-test-ci-ln-1phllqb-latest - to: 4.22.0-ec.2 + to: 4.22.0-ec.4 risks: - url: https://docs.openshift.com/synthetic-risk-a - name: SomeInvokerThing + name: TestAlertFeatureE2ETestSomeInvokerThing message: This is SomeInvokerThing that always applies for testing purposes matchingrules: - type: PromQL promql: promql: vector(1) - url: https://docs.openshift.com/synthetic-risk-b - name: SomeChannelThing + name: TestAlertFeatureE2ETestSomeChannelThing message: This is SomeChannelThing that always applies for testing purposes matchingrules: - type: PromQL @@ -116,10 +116,10 @@ conditionaledges: promql: vector(1) - edges: - from: 4.22.0-0-2026-03-03-000541-test-ci-ln-1phllqb-latest - to: 4.22.0-ec.3 + to: 4.22.0-ec.5 risks: - url: https://docs.openshift.com/synthetic-risk-b - name: SomeInfrastructureThing + name: TestAlertFeatureE2ETestSomeInfrastructureThing message: This is SomeInfrastructureThing that always applies for testing purposes matchingrules: - type: PromQL diff --git a/pkg/fauxinnati/testdata/zz_fixture_TestServer_generateRisksAlwaysGraph_generates_A_B_C_graph_with_version_4.17.5_having_two_conditional_risk_edges_with_always.yaml b/pkg/fauxinnati/testdata/zz_fixture_TestServer_generateRisksAlwaysGraph_generates_A_B_C_graph_with_version_4.17.5_having_two_conditional_risk_edges_with_always.yaml index afa25ce..f852590 100644 --- a/pkg/fauxinnati/testdata/zz_fixture_TestServer_generateRisksAlwaysGraph_generates_A_B_C_graph_with_version_4.17.5_having_two_conditional_risk_edges_with_always.yaml +++ b/pkg/fauxinnati/testdata/zz_fixture_TestServer_generateRisksAlwaysGraph_generates_A_B_C_graph_with_version_4.17.5_having_two_conditional_risk_edges_with_always.yaml @@ -39,13 +39,13 @@ conditionaledges: to: 4.17.6 risks: - url: https://docs.openshift.com/synthetic-risk-a - name: SyntheticRiskA + name: TestAlertFeatureE2ETestSyntheticRiskA message: This is a synthetic risk A that always applies for testing purposes matchingrules: - type: Always promql: null - url: https://docs.openshift.com/synthetic-risk-b - name: SyntheticRiskB + name: TestAlertFeatureE2ETestSyntheticRiskB message: This is a synthetic risk B that always applies for testing purposes matchingrules: - type: Always @@ -55,13 +55,13 @@ conditionaledges: to: 4.18.0 risks: - url: https://docs.openshift.com/synthetic-risk-a - name: SyntheticRiskA + name: TestAlertFeatureE2ETestSyntheticRiskA message: This is a synthetic risk A that always applies for testing purposes matchingrules: - type: Always promql: null - url: https://docs.openshift.com/synthetic-risk-c - name: SyntheticRiskC + name: TestAlertFeatureE2ETestSyntheticRiskC message: This is a synthetic risk C that always applies for testing purposes matchingrules: - type: Always diff --git a/pkg/fauxinnati/testdata/zz_fixture_TestServer_generateRisksCannotEvaluateGraph_generates_A_B_C_graph_with_version_4.17.5_having_two_conditional_risk_edges_with_promql_matching_rules.yaml b/pkg/fauxinnati/testdata/zz_fixture_TestServer_generateRisksCannotEvaluateGraph_generates_A_B_C_graph_with_version_4.17.5_having_two_conditional_risk_edges_with_promql_matching_rules.yaml index 1e32531..89e1c6b 100644 --- a/pkg/fauxinnati/testdata/zz_fixture_TestServer_generateRisksCannotEvaluateGraph_generates_A_B_C_graph_with_version_4.17.5_having_two_conditional_risk_edges_with_promql_matching_rules.yaml +++ b/pkg/fauxinnati/testdata/zz_fixture_TestServer_generateRisksCannotEvaluateGraph_generates_A_B_C_graph_with_version_4.17.5_having_two_conditional_risk_edges_with_promql_matching_rules.yaml @@ -41,7 +41,7 @@ conditionaledges: to: 4.18.0 risks: - url: https://docs.openshift.com/synthetic-risk-promql - name: SyntheticRisk + name: TestAlertFeatureE2ETestSyntheticRisk message: This is a synthetic risk with PromQL that cannot be evaluated in OpenShift clusters matchingrules: - type: PromQL diff --git a/pkg/fauxinnati/testdata/zz_fixture_TestServer_generateRisksMatchingGraph_generates_A_B_C_graph_with_version_4.17.5_having_two_conditional_risk_edges_with_promql_matching_rules.yaml b/pkg/fauxinnati/testdata/zz_fixture_TestServer_generateRisksMatchingGraph_generates_A_B_C_graph_with_version_4.17.5_having_two_conditional_risk_edges_with_promql_matching_rules.yaml index 87529b5..f64b51e 100644 --- a/pkg/fauxinnati/testdata/zz_fixture_TestServer_generateRisksMatchingGraph_generates_A_B_C_graph_with_version_4.17.5_having_two_conditional_risk_edges_with_promql_matching_rules.yaml +++ b/pkg/fauxinnati/testdata/zz_fixture_TestServer_generateRisksMatchingGraph_generates_A_B_C_graph_with_version_4.17.5_having_two_conditional_risk_edges_with_promql_matching_rules.yaml @@ -41,7 +41,7 @@ conditionaledges: to: 4.18.0 risks: - url: https://docs.openshift.com/synthetic-risk-promql - name: SyntheticRisk + name: TestAlertFeatureE2ETestSyntheticRisk message: This is a synthetic risk with PromQL that always matches in OpenShift clusters matchingrules: - type: PromQL diff --git a/pkg/fauxinnati/testdata/zz_fixture_TestServer_generateRisksNonmatchingGraph_generates_A_B_C_graph_with_version_4.17.5_having_two_conditional_risk_edges_with_promql_nonmatching_rules.yaml b/pkg/fauxinnati/testdata/zz_fixture_TestServer_generateRisksNonmatchingGraph_generates_A_B_C_graph_with_version_4.17.5_having_two_conditional_risk_edges_with_promql_nonmatching_rules.yaml index c50ba4c..74acc10 100644 --- a/pkg/fauxinnati/testdata/zz_fixture_TestServer_generateRisksNonmatchingGraph_generates_A_B_C_graph_with_version_4.17.5_having_two_conditional_risk_edges_with_promql_nonmatching_rules.yaml +++ b/pkg/fauxinnati/testdata/zz_fixture_TestServer_generateRisksNonmatchingGraph_generates_A_B_C_graph_with_version_4.17.5_having_two_conditional_risk_edges_with_promql_nonmatching_rules.yaml @@ -41,7 +41,7 @@ conditionaledges: to: 4.18.0 risks: - url: https://docs.openshift.com/synthetic-risk-promql-nonmatching - name: SyntheticRisk + name: TestAlertFeatureE2ETestSyntheticRisk message: This is a synthetic risk with PromQL that never matches in OpenShift clusters matchingrules: - type: PromQL diff --git a/pkg/fauxinnati/testdata/zz_fixture_TestServer_generateSmokeTestGraph_generates_a_graph_that_exercises_various_graph_features.yaml b/pkg/fauxinnati/testdata/zz_fixture_TestServer_generateSmokeTestGraph_generates_a_graph_that_exercises_various_graph_features.yaml index 6610512..1e01a0d 100644 --- a/pkg/fauxinnati/testdata/zz_fixture_TestServer_generateSmokeTestGraph_generates_a_graph_that_exercises_various_graph_features.yaml +++ b/pkg/fauxinnati/testdata/zz_fixture_TestServer_generateSmokeTestGraph_generates_a_graph_that_exercises_various_graph_features.yaml @@ -159,7 +159,7 @@ conditionaledges: to: 4.18.1 risks: - url: https://docs.openshift.com/synthetic-risk-smoke - name: RiskA + name: TestAlertFeatureE2ETestRiskA message: This is a synthetic risk with Always type for smoke testing matchingrules: - type: Always @@ -171,7 +171,7 @@ conditionaledges: to: 4.18.2 risks: - url: https://docs.openshift.com/synthetic-risk-smoke-promql - name: RiskBMatches + name: TestAlertFeatureE2ETestRiskBMatches message: This is a synthetic risk with PromQL that matches for smoke testing matchingrules: - type: PromQL @@ -184,7 +184,7 @@ conditionaledges: to: 4.18.3 risks: - url: https://docs.openshift.com/synthetic-risk-smoke-promql-nomatch - name: RiskCNoMatch + name: TestAlertFeatureE2ETestRiskCNoMatch message: This is a synthetic risk with PromQL that never matches for smoke testing matchingrules: - type: PromQL @@ -197,27 +197,27 @@ conditionaledges: to: 4.18.4 risks: - url: https://docs.openshift.com/synthetic-risk-smoke-combined-a - name: RiskA + name: TestAlertFeatureE2ETestRiskA message: This is RiskA part of combined risks for smoke testing matchingrules: - type: Always promql: null - url: https://docs.openshift.com/synthetic-risk-smoke-combined-b - name: RiskBMatches + name: TestAlertFeatureE2ETestRiskBMatches message: This is RiskBMatches part of combined risks for smoke testing matchingrules: - type: PromQL promql: promql: vector(1) - url: https://docs.openshift.com/synthetic-risk-smoke-combined-c - name: RiskCNoMatch + name: TestAlertFeatureE2ETestRiskCNoMatch message: This is RiskCNoMatch part of combined risks for smoke testing matchingrules: - type: PromQL promql: promql: vector(0) - url: https://docs.openshift.com/synthetic-risk-smoke-combined-d - name: RiskDCannotEvaluate + name: TestAlertFeatureE2ETestRiskDCannotEvaluate message: This is RiskDCannotEvaluate part of combined risks for smoke testing matchingrules: - type: PromQL