584 Commits

Author SHA1 Message Date
Markus Makela
63d83cd85d Monitor API 2.0.0 implemented. 2015-03-11 15:18:55 +02:00
Markus Makela
11f1ed6a2c Small fix to test. 2015-03-10 17:31:36 +02:00
Markus Makela
2f3c380df8 Updated feedback test. 2015-03-10 17:23:41 +02:00
Markus Makela
e937947f01 Added test_utils.h header which contains a testing environment initialization function. 2015-03-10 15:16:52 +02:00
Markus Makela
773ad1f8a2 Removed useless test parts. 2015-03-09 18:29:03 +02:00
Markus Makela
02e742f29e Added unit test for feedback service. 2015-03-09 14:17:40 +02:00
Markus Makela
ea039dd01a Fixed to Coverity defects and a fix to tee filter not compiling with SS_DEBUG flag. 2015-03-07 06:00:01 +02:00
Markus Makela
aa4932bf2d Moved the housekeeper heartbeat to a separate header for ease of integration.
This keeps the behavior the same but allows the heartbeat to be used as a crude timer
without including everything the housekeeper.h header includes.

Moved the protocol level updates on the DCBs last_read value into dcb_read.
This keeps the implementation nice and compact.
2015-02-24 05:00:16 +02:00
Markus Makela
578fb07370 Added timeout testing to service tests. 2015-02-23 11:13:31 +02:00
Markus Makela
2c401788ee Fix to bug 579: http://bugs.mariadb.com/show_bug.cgi?id=579
Added actual testing routers and protocols.
2015-02-20 12:30:55 +02:00
Markus Makela
3924f70d6b Fixed log manager sometimes not writing the last character in a log message.
This was caused by type conversions from int to size_t and the usage of the MAX macro.
2015-02-20 04:42:02 +02:00
Timofey Turenko
06c2d201e0 remove makefiles and other garbage 2015-01-14 19:08:24 +02:00
Markus Makela
7987365bd4 Fix to tee filter tests failing due to the default user not being found in the etc/passwd file. 2015-01-08 20:21:56 +02:00
Markus Makela
2a02b2deba Fixed TestUsers failing due to only adding a single user. 2015-01-08 13:48:29 +02:00
Markus Makela
094dfbd4f7 Fixed tests not having environment variables set. 2015-01-08 13:18:14 +02:00
Markus Makela
9717190b4a Added calls to skygw_log_sync_all in the hint, server and user tests before each assertion that might fail. 2015-01-05 15:14:26 +02:00
Markus Makela
2d8375bb12 Fix to bug 579: http://bugs.mariadb.com/show_bug.cgi?id=579
Added a header which contains the locations for the testing directory and its subfolders which enables
the test to write into the right logfiles. Also added a calls to skygw_log_sync_all before assertions
forcing all logs to be written to disk at the time the test might fail.
2015-01-05 15:06:38 +02:00
Markus Makela
3bf595673d Added the missing skygw_log_sync_all function to the log_manager.h header and created a header for testing which contains the location of the testing directory. 2015-01-05 06:48:32 +02:00
Markus Makela
ba009e5fd3 Fixes to Coverity defects 85010 84878 72752 72742 72719 and 73418.
skygw_utils.cc: Added function is_valid_posix_path that checks if a path is POSIX-compliant.
2015-01-05 06:05:56 +02:00
MassimilianoPinto
2d4073267c Added support for a.%, a.%.% and a.b.%
Added support for a.%, a.%.% and a.b.% in dbusers.c
2014-12-04 19:01:17 +01:00
Markus Makela
84679a48ff Fixes to Coverity defects 84335 84336 84337 2014-12-04 10:13:41 +02:00
Markus Makela
1e2027f4dc Fixes to Coverity defects 83027 73421 72714 72671 72646 72642 2014-12-03 17:56:22 +02:00
Mark Riddoch
d3c8770852 Merge branch 'blr' into develop
Conflicts:
	client/maxadmin.c
	server/core/CMakeLists.txt
	server/core/dcb.c
	server/core/gateway.c
	server/core/poll.c
	server/core/test/CMakeLists.txt
	server/core/test/makefile
	server/include/poll.h
	server/modules/routing/debugcmd.c
2014-11-19 12:00:55 +00:00
Markus Makela
fc5c3943e8 Fixes to Coverity defects:
72643
72645
72655
72656
72657
72658
72664
72698
72712
2014-11-12 19:02:37 +02:00
Markus Makela
917d213c13 Fix to Coverity defect 73387 2014-11-12 18:09:10 +02:00
Markus Makela
e1af60ac71 Fixes to Coverity errors:
72747
75940
75941
73408
75425
2014-11-07 10:57:11 +02:00
Markus Makela
c4d51f54cd Fixes to Coverity bugs:
72743
73407
73408
73409
73415
73419
2014-11-06 15:40:11 +02:00
MassimilianoPinto
83257aad55 MySQL DB authentication tests
MySQL DB authentication tests update
2014-10-24 16:49:55 +02:00
MassimilianoPinto
48423f75f6 Merge branch 'develop' into MAX-309 2014-10-24 09:39:42 +02:00
Markus Makela
b5388956d8 Changed the order of linking in test_mysql_users and removed references to non-existing directories in test.inc 2014-10-23 15:24:59 +03:00
counterpoint
da9d6946da Add Configuration Guide in Markdown form. 2014-10-22 11:02:36 +01:00
MassimilianoPinto
c54e087d3e Merge from develop
Merge from develop
2014-10-20 09:03:11 +02:00
counterpoint
e8758d3678 Fix problems in tests, fix issue in server.c (bug 581) 2014-10-17 10:57:17 +01:00
MassimilianoPinto
2dfa01fccc MySQL Auth with dbname check
MySQL Auth with dbname check

Unknown database ‘xxxxx’ is returned to client

Proper error number is still missing and also com_change_user need to
be fixed
2014-10-16 19:17:15 +02:00
MassimilianoPinto
f66dc2b025 Removed compilation error on mysqlusers
Removed compilation error on mysqlusers
2014-10-16 13:00:23 +02:00
MassimilianoPinto
0769deed7f MySQL Authentication with DBname
MySQL Authentication with DBname
2014-10-15 17:26:46 +02:00
Mark Riddoch
0cd97ea482 Merge branch 'develop' of github.com:skysql/MaxScale into develop 2014-10-15 12:49:15 +01:00
Mark Riddoch
fa278a2167 Bug 570 - memory manageing in hint parameters 2014-10-15 12:48:07 +01:00
Mark Riddoch
1a59e1b188 Bug 559 - Remove password file before starting test_adminusers 2014-10-15 12:39:34 +01:00
MassimilianoPinto
8f2d23444a Merge branch 'develop' into MAX-268 2014-10-14 15:40:30 +02:00
Markus Makela
9ed65759a2 Changed missed references of SkySQL, Gateway and old emails and URLs to new versions. 2014-10-14 14:14:10 +03:00
counterpoint
6237209bb2 Add tests 2014-10-14 11:47:13 +01:00
MassimilianoPinto
a194c47b07 Updated test_mysql_users
Updated test_mysql_users
2014-10-14 12:33:56 +02:00
MassimilianoPinto
b15ebfe14a Extra line removed
Extra line removed
2014-10-13 10:53:52 +02:00
MassimilianoPinto
e22f7da091 Added test_mysql_users into tests
Added test_mysql_users into tests
2014-10-13 10:00:15 +02:00
MassimilianoPinto
ee54310a73 Implementation of db auth
Implementation of db auth
2014-10-13 09:50:55 +02:00
MassimilianoPinto
18ae3e35ef develop branch merged
develop branch merged
2014-10-10 15:30:56 +02:00
Markus Makela
fe20df3596 Merged new query classifier tests and the filter harness
testserver.c: commented out the code that referred to undefined variables
testusers.c: changed server to user for the assert to make sense
2014-10-09 15:46:04 +03:00
counterpoint
d5071267e7 More tests; minor fixes. 2014-10-08 18:04:28 +01:00
counterpoint
76e85dfb11 Add more tests 2014-10-08 13:33:23 +01:00