We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 339cae8 commit 8a171dcCopy full SHA for 8a171dc
core/rawdb/freezer_test.go
@@ -239,7 +239,7 @@ func TestFreezerConcurrentModifyTruncate(t *testing.T) {
239
// fails, otherwise it succeeds. In either case, the freezer should be positioned
240
// at 10 after both operations are done.
241
if truncateErr != nil {
242
- t.Fatal("concurrent truncate failed:", err)
+ t.Fatal("concurrent truncate failed:", truncateErr)
243
}
244
if !(errors.Is(modifyErr, nil) || errors.Is(modifyErr, errOutOrderInsertion)) {
245
t.Fatal("wrong error from concurrent modify:", modifyErr)
0 commit comments