mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Revert "core: stop chain when tests are finished (#27660)"
This reverts commit 625e847b5b.
This commit is contained in:
parent
9cd6deb3e6
commit
14c5d45962
1 changed files with 0 additions and 3 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue