File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 2020 with :
2121 go-version : ${{ matrix.go-version }}
2222 - name : Test
23- run : go test -race - timeout 25m ./...
23+ run : go test -timeout 25m ./...
2424 lint :
2525 runs-on : ubuntu-22.04
2626 timeout-minutes : 15
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ go.sum: go.mod ## Go sum
2020 go mod verify
2121
2222test : # # Runs tests
23- @go test -- race -timeout 30m ./...
23+ @go test -race -timeout 30m ./...
2424
2525fmt : # # Formats the code
2626 @echo " Fixing long lines"
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import (
1313 "github.com/libp2p/go-libp2p/core/peer"
1414 mocknet "github.com/libp2p/go-libp2p/p2p/net/mock"
1515 "github.com/stretchr/testify/assert"
16+ "github.com/stretchr/testify/require"
1617 "github.com/zeta-chain/go-tss/conversion"
1718
1819 "github.com/zeta-chain/go-tss/common"
@@ -156,7 +157,7 @@ func TestSignatureNotifierBroadcastFirst(t *testing.T) {
156157 }))
157158
158159 n1 .notifierLock .Lock ()
159- assert .Contains (t , n1 .notifiers , messageID )
160+ require .Contains (t , n1 .notifiers , messageID )
160161 notifier := n1 .notifiers [messageID ]
161162 n1 .notifierLock .Unlock ()
162163 assert .False (t , notifier .readyToProcess ())
You can’t perform that action at this time.
0 commit comments