Skip to content

Commit

Permalink
chmod tmp dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazar955 committed Sep 17, 2024
1 parent 5dde9d7 commit 1234dee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ test:
go test -race ./...

test-e2e:
cd $(TOOLS_DIR); go install -trimpath $(BABYLON_PKG);
go test -race -mod=readonly --failfast -timeout=25m -v $(PACKAGES_E2E) -count=1 --tags=e2e

build-docker:
Expand Down
4 changes: 4 additions & 0 deletions e2etest/test_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
"github.com/babylonlabs-io/vigilante/e2etest/container"
"github.com/btcsuite/btcd/txscript"
"go.uber.org/zap"
"os"
"path/filepath"
"testing"
"time"
Expand Down Expand Up @@ -131,6 +132,9 @@ func StartManager(t *testing.T, numMatureOutputsInWallet uint32, epochInterval u
// start Babylon node

tmpDir := t.TempDir()
err = os.Chmod(tmpDir, 0755)
require.NoError(t, err)

babylond, err := manager.RunBabylondResource(t, tmpDir, baseHeaderHex, hex.EncodeToString(pkScript), epochInterval)
require.NoError(t, err)

Expand Down

0 comments on commit 1234dee

Please sign in to comment.