Skip to content

Commit

Permalink
[v8] Set TELEPORT_ETCD_TEST=yes. (#12784) (#12850)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tener authored May 24, 2022
1 parent 17326a0 commit 7fc1bf1
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .cloudbuild/scripts/cmd/unit-tests/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ func main() {
}

type commandlineArgs struct {
workspace string
targetBranch string
commitSHA string
githubKeySrc string
skipUnshallow bool
workspace string
targetBranch string
commitSHA string
githubKeySrc string
skipUnshallow bool
}

func parseCommandLine() (commandlineArgs, error) {
Expand Down Expand Up @@ -150,8 +150,10 @@ func runUnitTests(workspace string) error {

cmd := exec.Command("make", "test")
cmd.Dir = workspace
cmd.Env = append(os.Environ(), gomodcache, "TELEPORT_ETCD_TEST=yes")
cmd.Env = append(os.Environ(), "TELEPORT_XAUTH_TEST=yes")
cmd.Env = os.Environ()
cmd.Env = append(cmd.Env, gomodcache)
cmd.Env = append(cmd.Env, "TELEPORT_ETCD_TEST=yes")
cmd.Env = append(cmd.Env, "TELEPORT_XAUTH_TEST=yes")
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr

Expand Down

0 comments on commit 7fc1bf1

Please sign in to comment.