Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions block/internal/pruner/pruner_test.go
Original file line numberDiff line numberDiff line change
Expand Up@@ -32,7 +32,7 @@ func (e *execMetaAdapter) PruneExec(ctx context.Context, height uint64) error {
func TestPrunerPruneMetadata(t *testing.T) {
t.Parallel()

ctx := context.Background()
ctx := t.Context()
kv := dssync.MutexWrap(ds.NewMapDatastore())
stateStore := store.New(kv)

Expand DownExpand Up@@ -67,7 +67,7 @@ func TestPrunerPruneMetadata(t *testing.T) {
func TestPrunerPruneBlocksWithoutDA(t *testing.T) {
t.Parallel()

ctx := context.Background()
ctx := t.Context()
kv := dssync.MutexWrap(ds.NewMapDatastore())
stateStore := store.New(kv)

Expand DownExpand Up@@ -128,7 +128,7 @@ func TestPrunerPruneBlocksWithoutDA(t *testing.T) {
func TestPrunerPruneBlocksWithDAEnabled(t *testing.T) {
t.Parallel()

ctx := context.Background()
ctx := t.Context()
kv := dssync.MutexWrap(ds.NewMapDatastore())
stateStore := store.New(kv)

Expand Down
Loading