github.com/rohankumardubey/nomad@v0.11.8/e2e/e2e_test.go (about) 1 // This package exists to wrap our e2e provisioning and test framework so that it 2 // can be run via 'go test ./e2e'. See './framework/framework.go' 3 package e2e 4 5 import ( 6 "os" 7 "testing" 8 9 "github.com/hashicorp/nomad/e2e/framework" 10 11 _ "github.com/hashicorp/nomad/e2e/affinities" 12 _ "github.com/hashicorp/nomad/e2e/clientstate" 13 _ "github.com/hashicorp/nomad/e2e/connect" 14 _ "github.com/hashicorp/nomad/e2e/consul" 15 _ "github.com/hashicorp/nomad/e2e/consultemplate" 16 _ "github.com/hashicorp/nomad/e2e/csi" 17 _ "github.com/hashicorp/nomad/e2e/deployment" 18 _ "github.com/hashicorp/nomad/e2e/example" 19 _ "github.com/hashicorp/nomad/e2e/hostvolumes" 20 _ "github.com/hashicorp/nomad/e2e/metrics" 21 _ "github.com/hashicorp/nomad/e2e/nomad09upgrade" 22 _ "github.com/hashicorp/nomad/e2e/nomadexec" 23 _ "github.com/hashicorp/nomad/e2e/spread" 24 _ "github.com/hashicorp/nomad/e2e/systemsched" 25 _ "github.com/hashicorp/nomad/e2e/taskevents" 26 ) 27 28 func TestE2E(t *testing.T) { 29 if os.Getenv("NOMAD_E2E") == "" { 30 t.Skip("Skipping e2e tests, NOMAD_E2E not set") 31 } else { 32 framework.Run(t) 33 } 34 }