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:
parent
22d6687f9f
commit
4309d9b3a5
@ -21,4 +21,4 @@ passwd=maxinfo_passwd
|
||||
type=listener
|
||||
service=MaxInfo
|
||||
protocol=MySQLClient
|
||||
port=9003
|
||||
port=4006
|
||||
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user