Skip to content

Commit

Permalink
chore: fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Jim Ma <[email protected]>
  • Loading branch information
jim3ma committed Jun 18, 2024
1 parent 7c9fc1a commit 800dba7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions client/daemon/peer/peertask_piecetask_synchronizer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,8 @@ func Test_watchdog(t *testing.T) {
peer := &schedulerv1.PeerPacket_DestPeer{}
pps := mocks.NewMockScheduler_ReportPieceResultClient(ctrl)
watchdog := &synchronizerWatchdog{
done: make(chan struct{}),
mainPeer: atomic.Value{},
syncSuccess: atomic.NewBool(false),
done: make(chan struct{}),
mainPeer: atomic.Value{},
peerTaskConductor: &peerTaskConductor{
SugaredLoggerOnWith: logger.With(
"peer", "test",
Expand Down

0 comments on commit 800dba7

Please sign in to comment.