From 4dc8cf3ad9eb81b04cfc4d732653c5f6c456d850 Mon Sep 17 00:00:00 2001 From: Florent Poinsard <35779988+frouioui@users.noreply.github.com> Date: Wed, 23 Aug 2023 17:07:31 -0400 Subject: [PATCH] Skip VTAdmin build in Docker tests (#13836) --- test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test.go b/test.go index 3955220842d..0177b0a525a 100755 --- a/test.go +++ b/test.go @@ -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...)