Skip to content

Commit

Permalink
Skip VTAdmin build in Docker tests (#13836)
Browse files Browse the repository at this point in the history
  • Loading branch information
frouioui authored Aug 23, 2023
1 parent d144203 commit 4dc8cf3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,9 @@ func (t *Test) run(dir, dataDir string) ([]byte, error) {
} else {
// If there is no cache, we have to call 'make build' before each test.
args = []string{t.flavor, t.bootstrapVersion, "make build && " + testArgs}
if !*buildVTAdmin {
args[len(args)-1] = "NOVTADMINBUILD=1 " + args[len(args)-1]
}
}

cmd = exec.Command(path.Join(dir, "docker/test/run.sh"), args...)
Expand Down

0 comments on commit 4dc8cf3

Please sign in to comment.