[percona] MySqlConnectionTest.* UTs fail
[ FAILED ] 7 tests, listed below:
[ FAILED ] MySqlConnectionTest.select
[ FAILED ] MySqlConnectionTest.selectNullInteger
[ FAILED ] MySqlConnectionTest.selectNullString
[ FAILED ] MySqlConnectionTest.selectNullBlob
[ FAILED ] MySqlConnectionTest.selectNullTimestamp
[ FAILED ] MySqlConnectionTest.selectEmptyStringBlob
[ FAILED ] MySqlConnectionTest.deleteByValue
All of them have the same output:
*** ERROR: unable to open database. The test
*** environment is broken and must be fixed before
*** the MySQL tests will run correctly.
*** The reason for the problem is described in the
*** accompanying exception output.
unknown file: Failure
C++ exception with description "unable to prepare MySQL statement <DELETE FROM mysql_connection_test WHERE int_value = ?>, reason: Percona-XtraDB-Cluster prohibits use of DML command on a table (keatest.mysql_connection_test) without an explicit primary key with pxc_strict_mode = ENFORCING or MASTER" thrown in the test fixture's constructor.
Let's see what this means for Percona and other MySQL distributions and if we can make these tests pass for them.
Edited by Andrei Pavel