Fix internal test suite failures
The server test used the wrong name. MySQL users test loaded multiple modules in one function call and wasn't appropriate for an internal test suite test as it requires a working installation. The cache filter didn't set the library paths before trying to load modules. The binlogrouter was missing a NULL check which caused a crash.
This commit is contained in:
@ -2,9 +2,3 @@ add_library(MySQLAuth SHARED mysql_auth.c dbusers.c)
|
||||
target_link_libraries(MySQLAuth maxscale-common MySQLCommon)
|
||||
set_target_properties(MySQLAuth PROPERTIES VERSION "1.0.0")
|
||||
install_module(MySQLAuth core)
|
||||
|
||||
if (BUILD_TESTS)
|
||||
add_executable(test_mysql_users test_mysql_users.c)
|
||||
target_link_libraries(test_mysql_users MySQLAuth MySQLCommon maxscale-common)
|
||||
add_test(TestMySQLUsers test_mysql_users)
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user