Files
MaxScale/maxscale-system-test/bug664.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

18 lines
541 B
C++

/**
* @file bug664.cpp Tee filter branch session failure test
*
* - Configure MaxScale so that the branched session will always fail
* - Execute query on the main service and check that MaxScale is alive
* - An error should be logged about the failed branch session
*/
#include "testconnections.h"
int main(int argc, char* argv[])
{
TestConnections test(argc, argv);
test.check_maxscale_alive(0);
test.check_log_err(0, "Failed to create new router session for service 'RW_Split'", true);
return test.global_result;
}