audit_log testcases do not wait for connections to finish disconnecting
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.5 |
Fix Released
|
Low
|
Laurynas Biveinis | |||
5.6 |
Fix Released
|
Low
|
Laurynas Biveinis | |||
5.7 |
Fix Released
|
Low
|
Laurynas Biveinis |
Bug Description
On PS 5.5 trunk:
main.audit_
MTR's internal check of the test case 'main.audit_
This means that the test case does not preserve the state that existed
before the test case was executed. Most likely the test case did not
do a proper clean-up. It could also be caused by the previous test run
by this thread, if the server wasn't restarted.
This is the diff of the states of the servers before and after the
test case was executed:
mysqltest: Logging to '/mnt/workspace
mysqltest: Results saved in '/mnt/workspace
mysqltest: Connecting to server localhost:13001 (socket /tmp/HK4zimjie5
mysqltest: ... Connected.
mysqltest: Start processing test commands from './include/
mysqltest: ... Done processing test commands.
--- /mnt/workspace/
+++ /mnt/workspace/
@@ -1,5 +1,6 @@
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS ROWS_SENT ROWS_EXAMINED ROWS_READ
<Id> root localhost NULL Query <Time> <State> SELECT * FROM INFORMATION_
+<Id> root localhost mtr Killed <Time> <State> NULL X X X 1
Slave_IO_State
Master_Host 127.0.0.1
Master_User root
mysqltest: Result content mismatch
tags: | added: audit ci |
https:/ /github. com/percona/ percona- server/ pull/961 /github. com/percona/ percona- server/ pull/962 /github. com/percona/ percona- server/ pull/963
https:/
https:/