89e83fab4b
MXS-1849 Add basic test case
2018-07-09 11:55:54 +03:00
4a215b9ca2
MXS-1961: Add test case
...
Added a test case that reproduces the problem.
2018-07-07 09:28:50 +03:00
bfd3d2975d
Merge branch '2.2' into develop
2018-07-06 14:56:19 +03:00
702f8aaed4
Merge branch '2.2' into develop
2018-07-05 13:53:14 +03:00
5c610503ba
MXS-1949: Add test case
...
Added a test case that verifies the bug is fixed.
2018-07-05 13:47:08 +03:00
bbf3909296
MXS-1958: Add test case
...
The test case verifies that the problem exists.
2018-07-05 12:01:38 +03:00
b98c0841b4
Enable and fix -Wextra warnings
...
Fixed all warnings that were present with -Wextra.
2018-07-03 15:07:19 +03:00
0911c664b1
MXS-1549: Add basic test case
...
Added a basic test case that checks that the functionality works as
expected.
2018-07-02 13:29:19 +03:00
be853a448c
Link tests against maxutils
...
The tests now link against the maxutils libraries. Currently, the maxutils
libraries consist of only the maxbase library.
2018-06-22 13:59:57 +03:00
b96228f95c
Merge branch '2.2' into develop
2018-06-22 10:44:39 +03:00
d9cc65cca7
Enable mxs1824_double_cursor in 2.2
...
The test apparently started working when 10.3 was set as the default
backend.
2018-06-21 15:12:12 +03:00
8a526bf84f
MXS-1926: Add test case
...
Added a test case that reproduces the problem and verifies that it is
solved.
2018-06-21 15:12:12 +03:00
396f5d96c2
Merge branch '2.2' into develop
2018-06-20 14:43:03 +03:00
7a0a6c3af1
MXS-1932: Add test case
...
Added test case that reproduces the problem and verifies that it is fixed.
2018-06-20 14:41:56 +03:00
6278f27ab6
Merge branch '2.2' into develop
2018-06-20 10:26:29 +03:00
bf4673d3f7
MXS-872: Add role test case
...
The test case checks whether roles work via MaxScale.
2018-06-19 12:51:55 +03:00
7a354bb28e
Add slave reconnection regression test
...
After a session command fails on all connected slaves but succeeds on the
master, the servers that failed are discarded from the pool of valid
servers. If there are available servers, they will be taken into use when
the next read query is performed.
When a query is routed to an unconnected slave, it is taken into use and
the session command history is replayed. If the execution of the history
failed and there were more session commands to be executed, any queued
queries would get lost. This is due to a missing check that would detect
the fact that the server has been discarded.
2018-06-18 14:25:05 +03:00
0f187807c1
MXS-421 Add system test
2018-06-18 11:32:50 +03:00
61cc709519
Prevent hangs in mxs173_throttle_filter
...
The test now sets a two minute timeout for all larger operations. This
prevents excessive waiting when the test is executed.
Removed the row count output to stdout to prevent excessive logging when
the terminal contents are written to a file.
Also renamed the file to match the test case name. This should remove the
need to find the source file to test name mapping from the CMakeLists.txt.
2018-06-15 16:16:52 +03:00
70fdd0fc17
Merge branch '2.2' into develop
2018-06-06 08:56:31 +03:00
994d3bc22d
Disable mxs1824_double_cursor
...
The test doesn't work due to the fact that the connector can't open two
cursors at the same time.
2018-06-06 08:46:45 +03:00
e6a9b83269
MXS-1899: Test that generated [maxscale] sections work
...
The test alters the configuration at runtime and restarts MaxScale.
2018-06-06 08:46:45 +03:00
a5377212a6
MXS-1507: Add transaction replay stress test
...
The test performs transactions while the master server is stopped and
started.
2018-06-04 19:26:36 +03:00
4a3216d483
Merge branch '2.2' into develop
2018-06-04 16:00:19 +03:00
cddcc6d7d5
MXS-1896: Distinct LOAD DATA LOCAL INFILE from LOAD DATA INFILE
...
The two operations return different types of results and need to be
treated differently in order for them to be handled correctly in 2.2.
This fixes the unexpected internal state errors that happened in all 2.2
versions due to a wrong assumption made by readwritesplit. This fix is not
necessary for newer versions as the LOAD DATA LOCAL INFILE processing is
done with a simpler, and more robust, method.
2018-06-04 15:17:48 +03:00
2ed631ab63
Merge branch '2.2' into develop
2018-06-01 13:46:03 +03:00
a319c5ad19
MXS-1889 Add test
...
If all slaves are down, a connection should be created to the
master.
2018-06-01 11:00:13 +03:00
f62d155036
MXS-173 Test for throttling filter
...
The test may fail if the client/maxscale/mariadb combo is too slow.
TODO, maybe: today I saw mysql_query() hang (in a poll) when maxscale
disconnected. Is there something that can be done about that?
I added a source directory, base, for stuff that should become part of a common
utility library in the future.
2018-05-25 14:51:36 +03:00
f03c800549
MXS-1778: Add causal_reads test case
...
Added a test case that checks that causal_reads works. With current
MariaDB releases, it will not work.
2018-05-22 17:46:26 +03:00
df7c46fbdd
Merge branch '2.2' into develop
2018-05-18 12:45:15 +03:00
4b8206ee1d
MXS-1873: Test large session commands
...
The test generates a large session command and makes sure queries after it
work correctly.
2018-05-18 12:29:47 +03:00
95815df1db
Merge branch '2.2' into develop
2018-05-16 11:46:45 +03:00
84ac115af8
MXS-1760: Add use_sql_variables_in test case
...
The test checks that both text protocol and binary protocol statements
produce the correct result.
2018-05-16 11:13:36 +03:00
7e9062f20f
Merge branch '2.2' into develop
2018-05-16 09:31:13 +03:00
5ed5d98bcd
MXS-1836 Add test that catches regression
2018-05-15 14:45:42 +03:00
ed2d0f4a5b
Allow out-of-source test runs
...
The test can now be run outside of the test source directory. Since the
`test_dir` global variable contains the absolute path to the test source,
all copying of configurations and execution of scripts can be done with
minimal changes.
2018-05-15 10:14:38 +03:00
75eded4b89
Merge branch '2.2' into develop
2018-05-14 11:24:09 +03:00
ec4569497e
Merge branch '2.1' into 2.2
2018-05-14 10:14:16 +03:00
d7ca5f5b5d
MXS-1628: Add bad handshake test case
...
The test checks that a bad handshake error is returned when a malformed
packet is sent.
2018-05-10 22:24:39 +03:00
dc4086b182
MXS-1828: Create test case
...
Created a test case that performs two LOAD DATA LOCAL INFILE statements in
one query. Currently, the test will fail as the issue is not resolved.
2018-05-03 09:46:46 +03:00
9ef1ffa878
MXS-1507: Test transaction replay with switchover
...
Added a test case that verifies that a successful transaction replay is
performed when a master switchover is performed.
2018-05-03 09:46:46 +03:00
490d8c0963
Merge branch '2.2' into develop
2018-04-30 12:38:19 +03:00
2f8bb71a58
MXS-1507: Test resultset checksum functionality
...
The test verifies that different results returned by the replayed
transaction cause the replaying to be aborted.
2018-04-30 12:31:51 +03:00
6cebe67374
MXS-1831: Add test case
...
Added test case that reproduces the problem and verifies that it is fixed.
2018-04-27 12:38:42 +03:00
880e0fb74e
Merge branch '2.2' into develop
2018-04-26 16:39:00 +03:00
a155d1085c
MXS-1824: Add test case
...
Added a test case that reproduces the problem and verifies that it is
fixed.
2018-04-26 16:02:09 +03:00
cffed86962
MXS-1507: Add basic functional test
...
Added functional tests that cover the basic cases.
2018-04-26 13:44:26 +03:00
f4bdf3012d
Merge branch '2.2' into develop
2018-04-23 14:20:32 +03:00
421e64ceeb
Take -Wall into use for tests
...
Take almost all warnings into use except `format-overflow` and
`unused-function`. format-overflow needs to be handled in a separate
commit.
2018-04-23 14:02:54 +03:00
0f0913fc99
Fix test build failures with GCC 8
...
GCC 8 enables -Werror=return-type by default which combined with -Werror
causes the build to fail.
2018-04-23 14:02:53 +03:00