MXS-2252: Add test case
Added a test case that verifies the correct user is used.
This commit is contained in:
@ -153,6 +153,14 @@ public:
|
||||
int connect(int i, const std::string& db = "test");
|
||||
int connect(const std::string& db = "test");
|
||||
|
||||
/**
|
||||
* Get a Connection to a node
|
||||
*/
|
||||
Connection get_connection(int i, const std::string& db = "test")
|
||||
{
|
||||
return Connection(IP[i], port[i], user_name, password, db, ssl);
|
||||
}
|
||||
|
||||
/**
|
||||
* Repeatedly try to connect with one second sleep in between attempts
|
||||
*
|
||||
|
Reference in New Issue
Block a user