We called inject_legacy_omap() before waiting to commit
initial transaction that created the object.
The results is that sometimes the initial clean state
removed legacy omap signalling used by unittest.
Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
t.omap_setheader(cid, oid, h);
t.touch(cid, oid2);
t.omap_setheader(cid, oid2, h);
+ C_SaferCond c;
+ t.register_on_commit(&c);
int r = queue_transaction(store, ch, std::move(t));
ASSERT_EQ(r, 0);
+ c.wait();
}
// inject legacy omaps