block_tester: add 'sync' command to replay

issue #3636
This commit is contained in:
Sebastian Sumpf 2020-02-19 18:53:14 +01:00 committed by Christian Helmuth
parent 9fa91df4c4
commit a7c408e41e
1 changed files with 3 additions and 0 deletions

View File

@ -40,6 +40,9 @@ struct Test::Replay : Test_base
if (request.attribute_value("type", Type()) == "write")
return Block::Operation::Type::WRITE;
if (request.attribute_value("type", Type()) == "sync")
return Block::Operation::Type::SYNC;
error("operation type not defined: ", request);
throw 1;
};