Log end of bug601 verbosely

The test appears to fail to connect to MaxScale due to unavailability of
connections. Theoretically, the improvement in accept speed due to
SO_REUSEPORT additions could explain the faster exhaustion of available
sockets.
This commit is contained in:
Markus Mäkelä 2019-05-22 20:39:01 +03:00
parent e72abe3643
commit f79e8b108c
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19
2 changed files with 6 additions and 3 deletions

View File

@ -120,7 +120,10 @@ int main(int argc, char* argv[])
Test->tprintf("Dropping user", Test->maxscales->user_name);
Test->try_query(Test->maxscales->conn_rwsplit[0], (char*) "DROP USER user@'%%';");
Test->maxscales->verbose = true;
Test->check_maxscale_alive(0);
Test->maxscales->verbose = false;
int rval = Test->global_result;
delete Test;

View File

@ -99,7 +99,7 @@ int Maxscales::connect_rwsplit(int m, const std::string& db)
{
if (verbose)
{
printf("Failed to connect to readwritesplit: %d, %s", my_errno, mysql_error(conn_rwsplit[m]));
printf("Failed to connect to readwritesplit: %d, %s\n", my_errno, mysql_error(conn_rwsplit[m]));
}
rc = my_errno;
}
@ -136,7 +136,7 @@ int Maxscales::connect_readconn_master(int m, const std::string& db)
{
if (verbose)
{
printf("Failed to connect to readwritesplit: %d, %s", my_errno, mysql_error(conn_master[m]));
printf("Failed to connect to readwritesplit: %d, %s\n", my_errno, mysql_error(conn_master[m]));
}
rc = my_errno;
}
@ -173,7 +173,7 @@ int Maxscales::connect_readconn_slave(int m, const std::string& db)
{
if (verbose)
{
printf("Failed to connect to readwritesplit: %d, %s", my_errno, mysql_error(conn_slave[m]));
printf("Failed to connect to readwritesplit: %d, %s\n", my_errno, mysql_error(conn_slave[m]));
}
rc = my_errno;
}