MXS-1267: Fix tee filter test results
The tests should no longer expect client session creation to fail if the branch session creation is not successful. The main session is kept alive so that a failure in the branch session does not cause a failure of the main session. The main session can be considered more important as it is what the client will use. If the branch session fails, the failure will be logged so no information is lost. Also added a missing configuration file and removed some extra-verbose output in a test script.
This commit is contained in:
@ -73,9 +73,6 @@ int main(int argc, char *argv[])
|
||||
|
||||
Test->check_log_err((char *) "Couldn't find suitable Master from 2 candidates", true);
|
||||
Test->check_log_err((char *) "Failed to create new router session for service 'RW_Split'", true);
|
||||
Test->check_log_err((char *) "Creating client session for Tee filter failed. Terminating session.", true);
|
||||
Test->check_log_err((char *) "Failed to create filter 'DuplicaFilter' for service 'RW_Router'", true);
|
||||
Test->check_log_err((char *) "Setting up filters failed. Terminating session RW_Router", true);
|
||||
|
||||
int rval = Test->global_result;
|
||||
delete Test;
|
||||
|
Reference in New Issue
Block a user