1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-10-16 13:27:35 +03:00

Added topology argument to dbsim to allow testing master/slave

This commit is contained in:
Teemu Ollakka
2018-06-16 11:30:50 +03:00
parent 6dcac8ce4d
commit dae5231dfc
4 changed files with 45 additions and 5 deletions

View File

@@ -7,6 +7,14 @@
int main(int argc, char** argv)
{
db::simulator(db::parse_args(argc, argv)).run();
try
{
db::simulator(db::parse_args(argc, argv)).run();
}
catch (const std::exception& e)
{
std::cerr << e.what() << std::endl;
return 1;
}
return 0;
}