Change mxs1836_show_eventTimes port from 9003 to 4006

Port 9003 is not open by default in the test environment. Changing it to
port 4006, which is open, will work around this restriction.

Also added the mysql_error output to the error message when the querying
fails.
This commit is contained in:
Markus Mäkelä 2018-05-17 09:50:37 +03:00
parent 22d6687f9f
commit 4309d9b3a5
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19
2 changed files with 3 additions and 3 deletions

View File

@ -21,4 +21,4 @@ passwd=maxinfo_passwd
type=listener
service=MaxInfo
protocol=MySQLClient
port=9003
port=4006

View File

@ -22,7 +22,7 @@ namespace
// Specified in the configuration file.
char USER[] = "maxinfo_user";
char PASSWD[] = "maxinfo_passwd";
int PORT = 9003;
int PORT = 4006;
void run(TestConnections& test, MYSQL* pMysql)
{
@ -58,7 +58,7 @@ void run(TestConnections& test, MYSQL* pMysql)
}
else
{
test.assert(false, "Executing 'show eventTimes' failed.");
test.assert(false, "Executing 'show eventTimes' failed: %s", mysql_error(pMysql));
}
}