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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user