Skip to content

Commit e5de5fc

Browse files
authored
common: remove no longer needed synctest helper pkg (#19469)
no longer needed after we fully switched to go1.25 as a min version
1 parent 6de6d5b commit e5de5fc

File tree

4 files changed

+3
-30
lines changed

4 files changed

+3
-30
lines changed

common/synctest/synctest.go

Lines changed: 0 additions & 26 deletions
This file was deleted.

polygon/sync/event_channel_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,10 @@ package sync
1919
import (
2020
"context"
2121
"testing"
22+
"testing/synctest"
2223

2324
"github.com/stretchr/testify/require"
2425
"golang.org/x/sync/errgroup"
25-
26-
"github.com/erigontech/erigon/common/synctest"
2726
)
2827

2928
func TestEventChannel(t *testing.T) {

polygon/sync/tip_events_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ package sync
1919
import (
2020
"context"
2121
"testing"
22+
"testing/synctest"
2223

2324
"github.com/stretchr/testify/require"
2425
"golang.org/x/sync/errgroup"
2526

2627
"github.com/erigontech/erigon/common"
2728
"github.com/erigontech/erigon/common/log/v3"
28-
"github.com/erigontech/erigon/common/synctest"
2929
"github.com/erigontech/erigon/common/testlog"
3030
"github.com/erigontech/erigon/execution/p2p"
3131
)

txnprovider/shutter/pool_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ import (
2727
"sync"
2828
"sync/atomic"
2929
"testing"
30+
"testing/synctest"
3031
"time"
3132

3233
mapset "github.com/deckarep/golang-set/v2"
@@ -41,7 +42,6 @@ import (
4142
"github.com/erigontech/erigon/common"
4243
"github.com/erigontech/erigon/common/crypto"
4344
"github.com/erigontech/erigon/common/log/v3"
44-
"github.com/erigontech/erigon/common/synctest"
4545
"github.com/erigontech/erigon/common/testlog"
4646
"github.com/erigontech/erigon/execution/abi"
4747
"github.com/erigontech/erigon/execution/chain/networkname"

0 commit comments

Comments
 (0)