Skip to content

Commit

Permalink
core: uncomment TestCorruptedJournal test
Browse files Browse the repository at this point in the history
  • Loading branch information
jingjunLi committed Apr 9, 2024
1 parent 6013cb3 commit 65cf980
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions triedb/pathdb/database_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ import (
"bytes"
"errors"
"fmt"
"github.com/ethereum/go-ethereum/log"
"math/rand"
"os"
"testing"

"github.com/ethereum/go-ethereum/common"
Expand Down Expand Up @@ -532,7 +530,6 @@ func TestJournal(t *testing.T) {
func TestCorruptedJournal(t *testing.T) {
tester := newTester(t, 0)
defer tester.release()
log.SetDefault(log.NewLogger(log.NewTerminalHandlerWithLevel(os.Stderr, log.LevelInfo, true)))

if err := tester.db.Journal(tester.lastHash()); err != nil {
t.Errorf("Failed to journal, err: %v", err)
Expand Down

0 comments on commit 65cf980

Please sign in to comment.