Skip to content

Commit

Permalink
Revert "core: stop chain when tests are finished (ethereum#27660)"
Browse files Browse the repository at this point in the history
This reverts commit 625e847.
  • Loading branch information
devopsbo3 committed Nov 10, 2023
1 parent e5cd748 commit 9c36eee
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions core/blockchain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4129,7 +4129,6 @@ func testCreateThenDelete(t *testing.T, config *params.ChainConfig) {
if err != nil {
t.Fatalf("failed to create tester chain: %v", err)
}
defer chain.Stop()
// Import the blocks
for _, block := range blocks {
if _, err := chain.InsertChain([]*types.Block{block}); err != nil {
Expand Down Expand Up @@ -4216,7 +4215,6 @@ func TestTransientStorageReset(t *testing.T) {
if err != nil {
t.Fatalf("failed to create tester chain: %v", err)
}
defer chain.Stop()
// Import the blocks
if _, err := chain.InsertChain(blocks); err != nil {
t.Fatalf("failed to insert into chain: %v", err)
Expand Down Expand Up @@ -4311,7 +4309,6 @@ func TestEIP3651(t *testing.T) {
if err != nil {
t.Fatalf("failed to create tester chain: %v", err)
}
defer chain.Stop()
if n, err := chain.InsertChain(blocks); err != nil {
t.Fatalf("block %d: failed to insert into chain: %v", n, err)
}
Expand Down

0 comments on commit 9c36eee

Please sign in to comment.