Files
MaxScale/maxscale-system-test/mxs1949_warn_user_injection.cpp
Markus Mäkelä 5c610503ba MXS-1949: Add test case
Added a test case that verifies the bug is fixed.
2018-07-05 13:47:08 +03:00

16 lines
436 B
C++

/**
* MXS-1949: Warning for user load failure logged even when service has no users
*
* Check that the message is not logged when services have no servers and
* 'inject_service_user' is enabled.
*/
#include "testconnections.h"
int main(int argc, char *argv[])
{
TestConnections test(argc, argv);
test.check_log_err(0, " No users were loaded but 'inject_service_user' is enabled", false);
return test.global_result;
}