MaxScale/maxscale-system-test/mxs1949_warn_user_injection.cpp
Markus Mäkelä 4b6aab1417
Replace check_log_err with log_includes/log_excludes
The latter are more explicit and easier to understand at the call site.

Also removed the redundant crash checks via the log files.
2018-11-19 20:02:11 +02:00

16 lines
428 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.log_excludes(0, " No users were loaded but 'inject_service_user' is enabled");
return test.global_result;
}