Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpectNoDisruption ¶
func ExpectNoDisruption(f *framework.Framework, tolerate float64, total time.Duration, events monitor.EventIntervals, reason string)
ExpectNoDisruption fails if the sum of the duration of all events exceeds tolerate as a fraction ([0-1]) of total, reports a disruption flake if any disruption occurs, and uses reason to prefix the message. I.e. tolerate 0.1 of 10m total will fail if the sum of the intervals is greater than 1m, or report a flake if any interval is found.
Types ¶
type TestData ¶
type TestData struct { UpgradeType upgrades.UpgradeType UpgradeContext upgrades.UpgradeContext }
TestData is passed to the invariant tests executed during the upgrade. The default UpgradeType is MasterUpgrade.
Click to show internal directories.
Click to hide internal directories.