Skip to content

Commit

Permalink
Merge pull request #1781 from OffchainLabs/fix-failing-arbtraceTest
Browse files Browse the repository at this point in the history
Fix failing test for longer dirnames
  • Loading branch information
tsahee committed Jul 21, 2023
2 parents ac0a2de + 05c3efe commit 184eac9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions system_tests/arbtrace_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"context"
"encoding/json"
"errors"
"path/filepath"
"testing"
"time"

Expand Down Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion system_tests/forwarder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 184eac9

Please sign in to comment.