From 9c36eee504247c6edbe056523c1ff2b9acc6df97 Mon Sep 17 00:00:00 2001 From: devopsbo3 <69951731+devopsbo3@users.noreply.github.com> Date: Fri, 10 Nov 2023 12:31:54 -0600 Subject: [PATCH] Revert "core: stop chain when tests are finished (#27660)" This reverts commit 625e847b5baa9b83666c323466fd8fa564e8cc8f. --- core/blockchain_test.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/blockchain_test.go b/core/blockchain_test.go index e626dbb5f727..5ec685c99ff4 100644 --- a/core/blockchain_test.go +++ b/core/blockchain_test.go @@ -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 { @@ -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) @@ -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) }