From 1c8c11c551f67bca576a6d35dc2b35fee708af95 Mon Sep 17 00:00:00 2001 From: Michael Li Date: Tue, 15 Aug 2023 10:15:00 -0400 Subject: [PATCH] test(e2e): Add license env (#3583) --- testing/internal/e2e/infra/docker.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testing/internal/e2e/infra/docker.go b/testing/internal/e2e/infra/docker.go index 19ec22e14f..801917fc2e 100644 --- a/testing/internal/e2e/infra/docker.go +++ b/testing/internal/e2e/infra/docker.go @@ -102,7 +102,8 @@ func InitBoundaryDatabase(t testing.TB, pool *dockertest.Pool, network *dockerte Tag: tag, Cmd: []string{"boundary", "database", "init", "-config", "/boundary/boundary-config.hcl", "-format", "json"}, Env: []string{ - "BOUNDARY_POSTGRES_URL=" + postgresURI, + fmt.Sprintf("BOUNDARY_LICENSE=%s", c.BoundaryLicense), + fmt.Sprintf("BOUNDARY_POSTGRES_URL=%s", postgresURI), "SKIP_CHOWN=true", }, Mounts: []string{path.Dir(boundaryConfigFilePath) + ":/boundary/"},