tests/bootkube: reboot test runs 3 times
@@ -17,9 +17,12 @@ func bootkubeDestruction(c cluster.TestCluster) error {
return err
}
+ // run destruction test 3 times to avoid false positives
+ for i := 0; i < 3; i++ {
if err := masterRestart(bc); err != nil {
return fmt.Errorf("masterRestart: %s", err)
}
+ }
// TODO: add more destructive tests. Also test that workloads started
// before any destruction test are still working after the destruction
