Skip to content

Commit 3fa2983

Browse files
committed
Add write permission to created file so it can be deleted during test cleanup
1 parent e340347 commit 3fa2983

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/warp/warp_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ var _ = ginkgo.BeforeSuite(func() {
7373
}
7474
tempDir = os.TempDir()
7575
warpChainConfigPath = path.Join(tempDir, "config.json")
76-
gomega.Expect(os.WriteFile(warpChainConfigPath, []byte(`{"warp-api-enabled": true}`), perms.ReadOnly)).Should(gomega.BeNil())
76+
gomega.Expect(os.WriteFile(warpChainConfigPath, []byte(`{"warp-api-enabled": true}`), perms.ReadWrite)).Should(gomega.BeNil())
7777

7878
// Construct the network using the avalanche-network-runner
7979
_, err = manager.StartDefaultNetwork(ctx)

0 commit comments

Comments
 (0)