mysql icon indicating copy to clipboard operation
mysql copied to clipboard

MariaDB test correction

Open rusher opened this issue 5 years ago • 2 comments

change statistics test (mariadb doesn't have flush_tables) change load data infile disable (MariaDB return a specific error 4166 : ER_LOAD_INFILE_CAPABILITY_DISABLED) ensure load data is enable server side (mysql 8/mariadb 10.5)

rusher avatar Dec 04 '20 11:12 rusher

error in travis is because of a different error (common.fakeServerPort 32893 was already used) (FakeServer test would probably be better using port 0, then getting resolved port)

rusher avatar Dec 04 '20 17:12 rusher

Thanks @rusher for setting me on the right track.

https://github.com/MariaDB/mariadb.org-tools/blob/master/buildbot.mariadb.org/dockerfiles/ecofiles/test-mysqljs.sh#L43-L56 is the changes to integration tests that I needed to do to get it successful on all mariadb versions (CI tests: https://buildbot.mariadb.org/#/builders/123).

As such test-statistics.js needs a common.minVersion(connection, 10, 5, 0) and the other tests, test-bad-credentials.js and test-server-timeout-disconnect.js needing version dependent tests.

grooverdan avatar Jan 14 '21 03:01 grooverdan