Documentation
¶
Index ¶
- Constants
- func NewLegacyAlertsMonitorTests(info monitortestframework.MonitorTestInitializationInfo) monitortestframework.MonitorTest
- func NewLegacyPathologicalMonitorTests(info monitortestframework.MonitorTestInitializationInfo) monitortestframework.MonitorTest
- func RunAlertTests(jobType *platformidentification.JobType, ...) []*junitapi.JUnitTestCase
- type AllowedAlertsFunc
Constants ¶
View Source
const (
AlertsMonitorName = "legacy-test-framework-invariants-alerts"
)
View Source
const (
PathologicalMonitorName = "legacy-test-framework-invariants-pathological"
)
Variables ¶
This section is empty.
Functions ¶
func NewLegacyAlertsMonitorTests ¶
func NewLegacyAlertsMonitorTests(info monitortestframework.MonitorTestInitializationInfo) monitortestframework.MonitorTest
func NewLegacyPathologicalMonitorTests ¶
func NewLegacyPathologicalMonitorTests(info monitortestframework.MonitorTestInitializationInfo) monitortestframework.MonitorTest
func RunAlertTests ¶
func RunAlertTests(jobType *platformidentification.JobType, clusterStability *monitortestframework.ClusterStabilityDuringTest, allowancesFunc AllowedAlertsFunc, featureSet configv1.FeatureSet, etcdAllowance allowedalerts.AlertTestAllowanceCalculator, events monitorapi.Intervals, recordedResource monitorapi.ResourcesMap) []*junitapi.JUnitTestCase
RunAlertTests is a key entry point for running all per-Alert tests we've defined in all.go AllAlertTests, as well as backstop tests on things we observe outside those specific tests.
Types ¶
type AllowedAlertsFunc ¶
type AllowedAlertsFunc func(featureSet configv1.FeatureSet) (allowedFiringWithBugs, allowedFiring, allowedPendingWithBugs, allowedPending alerts.MetricConditions)
Click to show internal directories.
Click to hide internal directories.