From 733e9399dc7de092e26dfa22d21fb80134f25bed Mon Sep 17 00:00:00 2001 From: Matthias <5011972+fasmat@users.noreply.github.com> Date: Tue, 28 Jan 2025 20:12:05 +0000 Subject: [PATCH] use different dirs for services --- systest/tests/malfeasance_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/systest/tests/malfeasance_test.go b/systest/tests/malfeasance_test.go index 5226e62d61..66dcc5d8a3 100644 --- a/systest/tests/malfeasance_test.go +++ b/systest/tests/malfeasance_test.go @@ -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)) @@ -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") @@ -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")