Skip to content

Commit

Permalink
New test for node draining (respecting PDB)
Browse files Browse the repository at this point in the history
  • Loading branch information
ingvagabund committed Feb 20, 2019
1 parent 57f3ee8 commit 1b7b6b7
Show file tree
Hide file tree
Showing 2 changed files with 394 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/e2e/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,12 @@ func runSuite() error {
}
glog.Info("PASS: ExpectNodeToBeDrainedBeforeDeletingMachine")

glog.Info("RUN: ExpectNodeToBeDrainedBeforeMachineIsDeleted")
if err := testConfig.ExpectNodeToBeDrainedBeforeMachineIsDeleted(); err != nil {
glog.Errorf("FAIL: ExpectNodeToBeDrainedBeforeMachineIsDeleted: %v", err)
return err
}
glog.Info("PASS: ExpectNodeToBeDrainedBeforeMachineIsDeleted")

return nil
}
Loading

0 comments on commit 1b7b6b7

Please sign in to comment.