Skip to content

Commit

Permalink
Try to fix exporter acceptance
Browse files Browse the repository at this point in the history
Signed-off-by: Natalie Arellano <narellano@vmware.com>
  • Loading branch information
natalieparellano committed Oct 23, 2024
1 parent 9b87589 commit aef2a33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acceptance/exporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@ func testExporterFunc(platformAPI string) func(t *testing.T, when spec.G, it spe
var err error
cacheDir, err = os.MkdirTemp("", "cache")
h.AssertNil(t, err)
h.AssertNil(t, os.Chmod(cacheDir, 0777)) // Override umask

cacheFixtureDir := filepath.Join("testdata", "exporter", "cache-dir")
h.AssertNil(t, fsutil.Copy(cacheFixtureDir, cacheDir))
Expand Down Expand Up @@ -433,7 +434,6 @@ func testExporterFunc(platformAPI string) func(t *testing.T, when spec.G, it spe
"--env", "CNB_PLATFORM_API="+platformAPI,
"--env", "CNB_REGISTRY_AUTH="+exportRegAuthConfig,
"--network", exportRegNetwork,
"--user", "root",
"--volume", fmt.Sprintf("%s:/cache", cacheDir),
),
h.WithArgs(exportArgs...),
Expand Down

0 comments on commit aef2a33

Please sign in to comment.