Fix unit test failures

The new net_write_timeout value needed to be explicitly defined for the
tests.
This commit is contained in:
Markus Mäkelä
2019-06-11 13:52:41 +03:00
parent 6166da76ea
commit 470968a296
6 changed files with 6 additions and 1 deletions

View File

@ -115,6 +115,7 @@ int main(int argc, char** argv)
config_add_defaults(&ctx, get_module("binlogrouter", MODULE_ROUTER)->parameters);
ctx.m_parameters.set(CN_MAX_RETRY_INTERVAL, "10s");
ctx.m_parameters.set(CN_CONNECTION_TIMEOUT, "10s");
ctx.m_parameters.set(CN_NET_WRITE_TIMEOUT, "10s");
const char* options = "server_id=3,heartbeat=200,binlogdir=/tmp/my_dir,"
"transaction_safety=1,master_version=5.6.99-common,"