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>
(cherry picked from commit
3c9defab46e3ea7f9b9fbd05bdae9d6597687f0a)
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