MXS-3410 Rename Mariadb_nodes::flush_hosts() to prepare_for_test()

The function does more than simply executes "FLUSH HOSTS". Also
change return type to bool as that is what it has returned.
This commit is contained in:
Johan Wikman
2021-02-19 12:36:16 +02:00
parent 3fefe557c0
commit c0abec4e5b
8 changed files with 19 additions and 15 deletions

View File

@ -112,7 +112,7 @@ int main(int argc, char* argv[])
}
/** Clean up test environment */
Test->repl->flush_hosts();
Test->repl->prepare_for_test();
int rval = Test->global_result;
delete Test;
return rval;