Skip to content

Commit

Permalink
fix: enable test
Browse files Browse the repository at this point in the history
  • Loading branch information
istae committed Feb 7, 2024
1 parent a5c22a0 commit 04a2b6f
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions pkg/storer/netstore_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -348,17 +348,17 @@ func TestNetStore(t *testing.T) {
return db, err
})
})
// t.Run("disk", func(t *testing.T) {
// t.Parallel()

// testNetStore(t, func(r retrieval.Interface) (*storer.DB, error) {
// opts := dbTestOps(swarm.RandAddress(t), 0, nil, nil, time.Second)

// db, err := diskStorer(t, opts)()
// if err == nil {
// db.SetRetrievalService(r)
// }
// return db, err
// })
// })
t.Run("disk", func(t *testing.T) {
t.Parallel()

testNetStore(t, func(r retrieval.Interface) (*storer.DB, error) {
opts := dbTestOps(swarm.RandAddress(t), 0, nil, nil, time.Second)

db, err := diskStorer(t, opts)()
if err == nil {
db.SetRetrievalService(r)
}
return db, err
})
})
}

0 comments on commit 04a2b6f

Please sign in to comment.