Commit Graph

435 Commits

Author SHA1 Message Date
5f775551ea Remove post-2.0 functionality testing
Removed more parts of tests that tested or expected post-2.0
functionality.
2017-06-05 13:17:16 +03:00
ee34b26fc8 Wait for all connections to close
Added a small delay to tests that flood MaxScale with large amounts of
connections which then proceed to check whether MaxScale accepts
connections.
2017-06-05 13:17:16 +03:00
6c742030b4 Pass filename as maxpasswd argument
The 2.0 version of maxpasswd requires that the filename is given as the
first argument. Only 2.1 and newer versions check for the default key
file.
2017-06-05 13:17:16 +03:00
9f18d5a9fc Bring galera template to the replication template
The only difference in the galera template is now in the monitor
definition and in the server address values. This fixes the unexpected
responses that some of the galera mysqltest cases suffer from.
2017-06-05 13:17:15 +03:00
962dadfb59 Disable MXS-781 test for 2.0
The bug is fixed in 2.1.
2017-06-05 13:17:15 +03:00
a667ad90e5 Fix more galera test configurations
Some tests used galera options that aren't in 2.0 which caused the tests
to fail.

Also added an upper limit to some tests to reduce excessive execution
times.
2017-06-05 13:16:36 +03:00
cca25376eb Add missing CLI interface to configs
The regexfilter test was missing the CLI definition which slows down the
test.
2017-06-05 13:16:36 +03:00
0e19dd5d1c Disable parts of tests that don't work in 2.0
The configuration checking functionality doesn't detect bad router options
in 2.0.
2017-06-05 13:16:36 +03:00
9dc5a2ed08 Fix fwf_prepared_stmt expectations
The test should expect all prepared statements to fail. This needs to be
changed for 2.1 and newer versions.
2017-06-05 13:16:35 +03:00
d4b75e18e5 Disable testing of features found in 2.1 and up
The tests can't pass as the functionality hasn't been implemented.
2017-06-05 13:16:35 +03:00
e786d62215 Disable tee tests for 2.0
The tee filter does not work correctly in 2.0.
2017-06-05 13:16:35 +03:00
480b3554c6 Fix 2.0 tests
Altered some of the tests to look for less specific log entries. Removed
new options from galera configurations. Reduced log output of some tests.
2017-06-05 13:16:35 +03:00
a20d96db18 Download MariaDB Connector-J for testing
Instead of bundling the connector with the tests, it should be downloaded
at configuration time.
2017-06-05 13:16:35 +03:00
d82890225d Disable Galera SSL load balancing test
The test is not stable as the amount of requests done varies greatly due
to some change in the connector.
2017-06-05 09:34:34 +03:00
e64e24a819 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.
2017-06-02 13:07:02 +03:00
919d08af1e Fix avrorouter type and name handling
The type and name parsing functions could move outside of allocated memory
as they didn't check for the terminating null character. Also fixed the
printf format string used when the list of used tables is being created.

Fixed CDC testing connector to abort on error and added some extra output
to the cdc_datatypes test.
2017-06-02 10:26:12 +03:00
b504587870 Make avrorouter testing faster
The slave part of the binlogrouter replication can be ignored for
avrorouter tests. This will speed up the testing by skipping the
unnecessary restarting and configuration of slave servers.
2017-06-01 23:28:19 +03:00
f2ba9dbed8 Fix and disable 2.0 related tests
Fixed the expected script output for the script test.

The SSL load balancing test would fail due to a problem introduced in
connector-c 3.0 which is yet to be resolved. Due to this, the test is
disabled until an alternative way to test it is conceived.

The dbfwfilter duplicate rule detection is fixed in 2.1.
2017-05-31 09:25:24 +03:00
6bd19e5c64 Remove post-2.0 functionality testing
Removed more parts of tests that tested or expected post-2.0
functionality.
2017-05-30 16:03:39 +03:00
9d4e06c132 Wait for all connections to close
Added a small delay to tests that flood MaxScale with large amounts of
connections which then proceed to check whether MaxScale accepts
connections.
2017-05-30 15:48:23 +03:00
b0b8d000f8 Pass filename as maxpasswd argument
The 2.0 version of maxpasswd requires that the filename is given as the
first argument. Only 2.1 and newer versions check for the default key
file.
2017-05-30 15:42:09 +03:00
d516fa21fa Bring galera template to the replication template
The only difference in the galera template is now in the monitor
definition and in the server address values. This fixes the unexpected
responses that some of the galera mysqltest cases suffer from.
2017-05-30 15:42:09 +03:00
313be69281 Disable MXS-781 test for 2.0
The bug is fixed in 2.1.
2017-05-30 15:42:09 +03:00
ddc7b0fb09 Fix more galera test configurations
Some tests used galera options that aren't in 2.0 which caused the tests
to fail.

Also added an upper limit to some tests to reduce excessive execution
times.
2017-05-30 15:42:09 +03:00
20f31428ac Add missing CLI interface to configs
The regexfilter test was missing the CLI definition which slows down the
test.
2017-05-30 15:42:09 +03:00
a4802cdbd1 Disable parts of tests that don't work in 2.0
The configuration checking functionality doesn't detect bad router options
in 2.0.
2017-05-30 15:42:08 +03:00
ae444c214b Fix fwf_prepared_stmt expectations
The test should expect all prepared statements to fail. This needs to be
changed for 2.1 and newer versions.
2017-05-30 15:42:08 +03:00
45aa82b4eb Disable testing of features found in 2.1 and up
The tests can't pass as the functionality hasn't been implemented.
2017-05-30 15:42:07 +03:00
a57b9cf0b0 Disable tee tests for 2.0
The tee filter does not work correctly in 2.0.
2017-05-30 15:42:07 +03:00
819a0296ab Fix 2.0 tests
Altered some of the tests to look for less specific log entries. Removed
new options from galera configurations. Reduced log output of some tests.
2017-05-30 15:42:06 +03:00
42c85eb110 Download MariaDB Connector-J for testing
Instead of bundling the connector with the tests, it should be downloaded
at configuration time.
2017-05-30 15:42:05 +03:00
d7d4ec29bb Add tests from develop
Added tests from develop. The test results need to be modified for 2.0.
2017-05-26 15:40:40 +03:00
957b50c811 Remove trailing whitespace
Removed trailing whitespace in tests and build scripts.
2017-05-26 14:29:28 +03:00
82f18d1c7e install deps script cleanup 2017-05-23 21:09:30 +03:00
8c6ca38a8a add tests 2017-05-23 21:09:30 +03:00