fix: itests: Don't call t.Error in MineBlocks goroutine

This commit is contained in:
Łukasz Magiera 2023-03-27 13:23:29 +02:00
parent 2120fae2b6
commit aebe3d4cf7

View File

@ -291,7 +291,8 @@ func (bm *BlockMiner) MineBlocks(ctx context.Context, blocktime time.Duration) {
case ctx.Err() != nil: // context fired.
return
default: // log error
bm.t.Error(err)
bm.t.Logf("MINEBLOCKS loop error: %+v", err)
return
}
}
}()