diff --git a/system_tests/arbtrace_test.go b/system_tests/arbtrace_test.go index d36b9b2950..78907aa622 100644 --- a/system_tests/arbtrace_test.go +++ b/system_tests/arbtrace_test.go @@ -4,7 +4,6 @@ import ( "context" "encoding/json" "errors" - "path/filepath" "testing" "time" @@ -132,7 +131,7 @@ func (s *ArbTraceAPIStub) Filter(ctx context.Context, filter *filterRequest) ([] func TestArbTraceForwarding(t *testing.T) { ctx, cancel := context.WithCancel(context.Background()) defer cancel() - ipcPath := filepath.Join(t.TempDir(), "redirect.ipc") + ipcPath := tmpPath(t, "redirect.ipc") var apis []rpc.API apis = append(apis, rpc.API{ Namespace: "arbtrace", diff --git a/system_tests/forwarder_test.go b/system_tests/forwarder_test.go index d4cf0d8eb7..0e5cca319a 100644 --- a/system_tests/forwarder_test.go +++ b/system_tests/forwarder_test.go @@ -32,7 +32,7 @@ const nodesCount = 5 // number of testnodes to create in tests func TestStaticForwarder(t *testing.T) { ctx, cancel := context.WithCancel(context.Background()) defer cancel() - ipcPath := filepath.Join(t.TempDir(), "test.ipc") + ipcPath := tmpPath(t, "test.ipc") ipcConfig := genericconf.IPCConfigDefault ipcConfig.Path = ipcPath stackConfig := stackConfigForTest(t)