We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cd57a6 commit 561d278Copy full SHA for 561d278
test/integration/utilities_test.go
@@ -5,6 +5,7 @@ import (
5
"io"
6
"os"
7
"os/exec"
8
+ "runtime"
9
"strings"
10
"time"
11
@@ -21,8 +22,8 @@ type CRCBuilder struct {
21
22
// NewCRCCommand returns a CRCBuilder for running CRC.
23
func NewCRCCommand(args ...string) *CRCBuilder {
24
cmd := exec.Command("crc", args...)
- cmd.Env = append(os.Environ(), "CRC_DISABLE_UPDATE_CHECK=true")
25
- cmd.Env = append(os.Environ(), "CRC_LOG_LEVEL=debug")
+ cmd.Env = append(os.Environ(), EnvVariable("CRC_DISABLE_UPDATE_CHECK", "true"))
26
+ cmd.Env = append(cmd.Env, EnvVariable("CRC_LOG_LEVEL", "debug"))
27
return &CRCBuilder{
28
cmd: cmd,
29
}
0 commit comments