Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Wondertan committed Nov 20, 2024
1 parent e13f2c2 commit cfe0409
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions share/availability/light/availability_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ import (
"context"
_ "embed"
"encoding/json"
"github.com/ipfs/boxo/bitswap/client"
"github.com/libp2p/go-libp2p/core/host"
mocknet "github.com/libp2p/go-libp2p/p2p/net/mock"
"maps"
"slices"
"sync"
Expand All @@ -15,12 +12,15 @@ import (
"time"

"github.com/golang/mock/gomock"
"github.com/ipfs/boxo/bitswap/client"
"github.com/ipfs/boxo/blockstore"
"github.com/ipfs/boxo/exchange"
blocks "github.com/ipfs/go-block-format"
"github.com/ipfs/go-cid"
"github.com/ipfs/go-datastore"
ds_sync "github.com/ipfs/go-datastore/sync"
"github.com/libp2p/go-libp2p/core/host"
mocknet "github.com/libp2p/go-libp2p/p2p/net/mock"
"github.com/stretchr/testify/require"

libshare "github.com/celestiaorg/go-square/v2/share"
Expand Down Expand Up @@ -351,7 +351,7 @@ func TestPruneAll(t *testing.T) {

func TestPrunePartialFailed(t *testing.T) {
const size = 8
ctx, cancel := context.WithTimeout(context.Background(), time.Second*200)
ctx, cancel := context.WithTimeout(context.Background(), time.Second*2)
t.Cleanup(cancel)

eds, h := randEdsAndHeader(t, size)
Expand Down

0 comments on commit cfe0409

Please sign in to comment.