Change the name of the env var that turns on integration tests
- Trying to use "placeholder-name" or "placeholder_name" everywhere that should later be changed to the actual name of the product, so we can just do a simple search and replace when we have a name.
This commit is contained in:
parent
81e91accfa
commit
d3d9cc6fac
@ -15,7 +15,7 @@ import (
|
|||||||
// force users to opt-in to running the integration tests.
|
// force users to opt-in to running the integration tests.
|
||||||
// this prevents them from running if someone does `go test ./...`
|
// this prevents them from running if someone does `go test ./...`
|
||||||
// these tests could be destructive to the cluster under test.
|
// these tests could be destructive to the cluster under test.
|
||||||
const magicIntegrationTestsEnvVar = "NAME_TEST_INTEGRATION"
|
const magicIntegrationTestsEnvVar = "PLACEHOLDER_NAME_TEST_INTEGRATION"
|
||||||
|
|
||||||
var shouldRunIntegrationTests = func() bool {
|
var shouldRunIntegrationTests = func() bool {
|
||||||
b, _ := strconv.ParseBool(os.Getenv(magicIntegrationTestsEnvVar))
|
b, _ := strconv.ParseBool(os.Getenv(magicIntegrationTestsEnvVar))
|
||||||
|
Loading…
Reference in New Issue
Block a user