Commit f8817b8b authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

Fix failing tests in witness mode

The simple fact that Witness records might show up in the log might
break logexpect commands. There's no reason why we'd want to expect
Witness records since their purpose is to be checked after the test
finishes.
parent d235b3c9
...@@ -281,7 +281,7 @@ logexp_dispatch(struct VSL_data *vsl, struct VSL_transaction * const pt[], ...@@ -281,7 +281,7 @@ logexp_dispatch(struct VSL_data *vsl, struct VSL_transaction * const pt[],
data = VSL_CDATA(t->c->rec.ptr); data = VSL_CDATA(t->c->rec.ptr);
len = VSL_LEN(t->c->rec.ptr) - 1; len = VSL_LEN(t->c->rec.ptr) - 1;
if (tag == SLT__Batch) if (tag == SLT__Batch || tag == SLT_Witness)
continue; continue;
ok = 1; ok = 1;
......
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