MXS-1929: Add test case
Added basic a test case that checks that service creation and destruction works as expected.
This commit is contained in:
@ -270,7 +270,7 @@ public:
|
||||
{
|
||||
mysql_close(m_conn);
|
||||
m_conn = open_conn_db(m_port, m_host, m_db, m_user, m_pw, m_ssl);
|
||||
return m_conn != nullptr;
|
||||
return m_conn != nullptr && mysql_errno(m_conn) == 0;
|
||||
}
|
||||
|
||||
void disconnect()
|
||||
|
||||
Reference in New Issue
Block a user