Files
MaxScale/system-test/mxs1949_warn_user_injection.cpp
2020-07-28 16:15:50 +03:00

16 lines
437 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 <maxtest/testconnections.hh>
int main(int argc, char* argv[])
{
TestConnections test(argc, argv);
test.log_excludes(0, " No users were loaded but 'inject_service_user' is enabled");
return test.global_result;
}