You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Monitoring components should use the expected runtime
555
555
assert.Equalf(t, tc.expectedRuntimeName, compRuntime, "expected correct runtime name for monitoring component %s with id %s", comp.Name, comp.ID)
556
+
case"http/metrics-monitoring":
557
+
// The comp.VersionInfo.Name for this component is empty at times.
558
+
// See https://github.com/elastic/elastic-agent/issues/11162.
556
559
default:
557
560
// Non-monitoring components should use the default runtime
558
561
assert.Equalf(t, string(component.DefaultRuntimeManager), compRuntime, "expected default runtime for non-monitoring component %s with id %s", comp.Name, comp.ID)
// Monitoring components should use the expected runtime
676
679
assert.Equalf(t, tc.expectedRuntimeName, compRuntime, "unexpected runtime name for monitoring component %s with id %s", comp.Name, comp.ID)
680
+
case"http/metrics-monitoring":
681
+
// The comp.VersionInfo.Name for this component is empty at times.
682
+
// See https://github.com/elastic/elastic-agent/issues/11162.
677
683
default:
678
684
// Non-monitoring components should use the default runtime
679
685
assert.Equalf(t, string(component.DefaultRuntimeManager), compRuntime, "expected default runtime for non-monitoring component %s with id %s", comp.Name, comp.ID)
0 commit comments