23956d737b
Changed bash-related comparison equality operator '==' to generic '='
2014-05-21 22:10:40 +03:00
77299fea2e
Added space character between '--' and comment text in sql scripts.
2014-05-21 22:05:13 +03:00
835c5b3915
Test that session variable scope doesn't span multiple sessions.
2014-05-08 16:36:17 +03:00
81af54730a
Added missing test files for rwsplit router tests.
2014-04-16 10:25:32 +03:00
c994c81a0e
Changed the way how autocommit is searched from parse tree. Switched to use typelib instead of explicitly converting and comparing user value. Added more tests for cases where user uses literal values in SET autocommit command.
2014-04-15 14:32:47 +03:00
7b40c1ee70
Changed how MaxScale unit test works.
...
All tests are run by executing 'make testall' in root directory. As a result all directories which contain tests will be entered and tests executed.
After tests, each directory have a test log including the last run's logs only.
Created a global test log, which is specified in test.inc. Test logs from subdirectories are concatenated to this file.
2014-04-10 19:08:28 +03:00
b9a8f2ce65
Merge branch 'develop' of https://github.com/skysql/MaxScale into develop
2014-04-10 17:11:45 +03:00
bbf1bc2afa
Fix for bug #418
...
Increased skygw_query_type_t to 16 bits, and corrected the way how those bit fields are checked.
Added tests for cases where autocommit is disabled and corrected old tests.
2014-04-10 17:09:42 +03:00
c86e25eeb8
Added a test for implicitly started trasnaction.
2014-04-07 17:00:31 +03:00
ce5dc19ecc
Added read/write split router tests to a part of makefile structure.
2014-04-01 14:11:48 -07:00
7c3a354fd8
Query classifier ignored implicit commits in cases of write commands. Fixed it.
...
Added more tests for transaction support. Mostly different cases where some command triggers implicit commit in the middle of transaction.
2014-03-28 00:16:18 +02:00
9b1035751a
Made rwsplit test select_for_var_set.sql generic so that master server's id is filled in test.inc.
2014-03-27 17:17:01 +02:00
e9d1f04bc6
Added test: set var @a via select @@server_id
...
Added test: set var @a via select @@server_id
2014-03-27 11:45:47 +01:00
10fdccdeee
Added two tests for testing readwrite split router's ability to route read to master if in active transaction and to slave when outside transaction.
2014-03-27 10:27:19 +02:00
75549c6a20
Added $(ROOT_PATH)/test.inc where test parameters can be added. For example, MaxScale port numbers, usernames, passwords. The file can be included in every */test/makefile so that all test directories can use same parameters if necessary.
...
Moved checking test results to rwsplit.sh so that tests can use easily different criterias to evaluate test success.
2014-03-27 10:06:31 +02:00
f49df89a0c
Changed how query classifier determines which statements trigger implicit commit.
...
Changed test makefile and rwsplit.sh script and added two example sql scripts.
2014-03-26 19:10:35 +02:00
df02926321
Added structure which can be cloned for multiple test cases.
2014-03-25 23:19:24 +02:00
f320c17834
Added test for readwrite split: SET and TRANSACTION - COMMIT
...
Added test for readwrite split: SET and TRANSACTION - COMMIT
2014-03-24 15:15:21 +01:00