Skip to content

Commit

Permalink
E2E tests for node drain
Browse files Browse the repository at this point in the history
* re-enable the previously disabled tests
* port off the old framework to use the stdlib runner
  • Loading branch information
tgross committed Aug 30, 2022
1 parent 6b056d2 commit 36d1152
Show file tree
Hide file tree
Showing 4 changed files with 365 additions and 355 deletions.
2 changes: 1 addition & 1 deletion e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import (
_ "github.com/hashicorp/nomad/e2e/lifecycle"
_ "github.com/hashicorp/nomad/e2e/metrics"
_ "github.com/hashicorp/nomad/e2e/networking"
_ "github.com/hashicorp/nomad/e2e/nodedrain"
_ "github.com/hashicorp/nomad/e2e/nomadexec"
_ "github.com/hashicorp/nomad/e2e/oversubscription"
_ "github.com/hashicorp/nomad/e2e/parameterized"
Expand All @@ -42,6 +41,7 @@ import (
// we get a quick check that they compile on every commit
_ "github.com/hashicorp/nomad/e2e/disconnectedclients"
_ "github.com/hashicorp/nomad/e2e/namespaces"
_ "github.com/hashicorp/nomad/e2e/nodedrain"
_ "github.com/hashicorp/nomad/e2e/volumes"
)

Expand Down
4 changes: 4 additions & 0 deletions e2e/nodedrain/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package nodedrain

// This package contains only tests, so this is a placeholder file to
// make sure builds don't fail with "no non-test Go files in" errors
354 changes: 0 additions & 354 deletions e2e/nodedrain/nodedrain.go

This file was deleted.

Loading

0 comments on commit 36d1152

Please sign in to comment.