mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 15:47:21 +00:00
core/rawdb: report truncateErr in concurrent truncate failure (#32651)
This commit is contained in:
parent
339cae81d8
commit
8a171dce1f
1 changed files with 1 additions and 1 deletions
|
|
@ -239,7 +239,7 @@ func TestFreezerConcurrentModifyTruncate(t *testing.T) {
|
|||
// fails, otherwise it succeeds. In either case, the freezer should be positioned
|
||||
// at 10 after both operations are done.
|
||||
if truncateErr != nil {
|
||||
t.Fatal("concurrent truncate failed:", err)
|
||||
t.Fatal("concurrent truncate failed:", truncateErr)
|
||||
}
|
||||
if !(errors.Is(modifyErr, nil) || errors.Is(modifyErr, errOutOrderInsertion)) {
|
||||
t.Fatal("wrong error from concurrent modify:", modifyErr)
|
||||
|
|
|
|||
Loading…
Reference in a new issue