debug
This commit is contained in:
parent
87bd1b0d61
commit
a9657cb0e6
1
.github/workflows/unit-test.yml
vendored
1
.github/workflows/unit-test.yml
vendored
@ -47,5 +47,6 @@ jobs:
|
||||
env:
|
||||
ANDROID_HOME: "" # Skip android test
|
||||
run: |
|
||||
go clean -testcache
|
||||
make test
|
||||
|
||||
|
@ -1568,8 +1568,8 @@ func TestLargeReorgTrieGC(t *testing.T) {
|
||||
t.Fatalf("failed to finalize competitor chain: %v", err)
|
||||
}
|
||||
for i, block := range competitor[:len(competitor)-TestTriesInMemory] {
|
||||
if node, _ := chain.stateCache.TrieDB().Node(block.Root()); node != nil {
|
||||
t.Fatalf("competitor %d: competing chain state missing", i)
|
||||
if node, err := chain.stateCache.TrieDB().Node(block.Root()); node != nil {
|
||||
t.Fatalf("competitor %d: competing chain state missing, err: %v", i, err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user