test(e2e): Add license env (#3583)

This commit is contained in:
Michael Li authored and GitHub committed 2023-08-15 10:15:00 -04:00
1 parent 55d85f90b9
commit 1c8c11c551
1 file changed
+2 -1
+2 -1
View File
@@ -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/"},