Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
metacertain committed Jun 7, 2021
1 parent 2f83408 commit 3395f21
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion pkg/p2p/streamtest/streamtest.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ func (r *Recorder) NewStream(ctx context.Context, addr swarm.Address, h p2p.Head
return nil, err
}
}

recordIn := newRecord()
recordOut := newRecord()
streamOut := newStream(recordIn, recordOut)
Expand Down
2 changes: 1 addition & 1 deletion pkg/pushsync/pushsync_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -961,7 +961,7 @@ func TestPushChunkToClosestSkipFailed(t *testing.T) {
if triggerCount < 9 {
triggerCount++
stream.Close()
return errors.New("fmt")
return errors.New("new error")
}

if err := h(ctx, peer, stream); err != nil {
Expand Down

0 comments on commit 3395f21

Please sign in to comment.