Commit 74d4f0f1 authored by Martin Blix Grydeland's avatar Martin Blix Grydeland

Enable batch record usage in logexpect

This enables catching batch related log problems using logexpect.

This commit will make several test cases start failing until #1588 has been fixed.
parent 71cd323b
......@@ -330,7 +330,8 @@ logexp_start(struct logexp *le)
}
le->vsl = VSL_New();
AN(le->vsl);
c = VSL_CursorVSM(le->vsl, le->vsm, le->d_arg ? 0 : VSL_COPT_TAIL);
c = VSL_CursorVSM(le->vsl, le->vsm,
(le->d_arg ? 0 : VSL_COPT_TAIL) | VSL_COPT_BATCH);
if (c == NULL) {
vtc_log(le->vl, 0, "VSL_CursorVSM: %s", VSL_Error(le->vsl));
logexp_close(le);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment