Skip to content

Commit

Permalink
use different dirs for services
Browse files Browse the repository at this point in the history
  • Loading branch information
fasmat committed Jan 28, 2025
1 parent 90b72a4 commit 733e939
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion systest/tests/malfeasance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ import (
// TestPostMalfeasanceProof tests that nodes can detect an invalid PoST and create a malfeasance proof against it.
func TestPostMalfeasanceProof(t *testing.T) {
t.Parallel()
testDir := t.TempDir()

ctx := testcontext.New(t)
logger := ctx.Log.Desugar().WithOptions(zap.IncreaseLevel(zap.InfoLevel), zap.WithCaller(false))
Expand All @@ -62,6 +61,7 @@ func TestPostMalfeasanceProof(t *testing.T) {
eg.Go(func() error {
// Prepare config
cfg := getConfig(t, cl, ctx)
testDir := t.TempDir()

cfg.DataDirParent = testDir
cfg.SMESHING.Opts.DataDir = filepath.Join(testDir, "post-data")
Expand Down Expand Up @@ -146,6 +146,7 @@ func TestPostMalfeasanceProof(t *testing.T) {
eg.Go(func() error {
// Prepare config
cfg := getConfig(t, cl, ctx)
testDir := t.TempDir()

cfg.DataDirParent = testDir
cfg.SMESHING.Opts.DataDir = filepath.Join(testDir, "post-data")
Expand Down

0 comments on commit 733e939

Please sign in to comment.