Skip to content

Commit

Permalink
Merge pull request onflow#5465 from onflow/leo/fix-execution-state-sy…
Browse files Browse the repository at this point in the history
…nc-tests

Remove db close in execution state sync tests
  • Loading branch information
zhangchiqing authored Feb 28, 2024
2 parents 0766584 + b1d1af1 commit bf6492c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions integration/tests/access/cohort3/execution_state_sync_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,12 +205,5 @@ func (s *ExecutionStateSyncSuite) nodeExecutionDataStore(node *testnet.Container
ds, err := badgerds.NewDatastore(filepath.Join(node.ExecutionDataDBPath(), "blobstore"), &badgerds.DefaultOptions)
require.NoError(s.T(), err, "could not get execution datastore")

go func() {
<-s.ctx.Done()
if err := ds.Close(); err != nil {
s.T().Logf("could not close execution data datastore: %v", err)
}
}()

return execution_data.NewExecutionDataStore(blobs.NewBlobstore(ds), execution_data.DefaultSerializer)
}

0 comments on commit bf6492c

Please sign in to comment.