Files
MaxScale/maxscale-system-test/mxs1949_warn_user_injection.cpp
Niclas Antti c447e5cf15 Uncrustify maxscale
See script directory for method. The script to run in the top level
MaxScale directory is called maxscale-uncrustify.sh, which uses
another script, list-src, from the same directory (so you need to set
your PATH). The uncrustify version was 0.66.
2018-09-09 22:26:19 +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;
}