One challenge is that very often mysqld crashes with this crash;
2014-11-24 07:55:05 3237 [Note] InnoDB: Resuming purgemysqld: /mnt/workspace/percona-server-5.6-binaries-debug-yassl/label_exp/centos6-64/percona-server-5.6.21-70.0/sql/lock.cc:1142: void Global_backup_lock::release(THD*): Assertion `m_lock != __null && thd->mdl_context.is_lock_owner(m_namespace, "", "", MDL_SHARED)' failed. 20:55:05 UTC - mysqld got signal 6 ;
Which stops going through the testcase short. It may help to put a patch for this bug into the code first.
I have added another testcase in that bug @ comment #3 which is reduced from this testcase.
One challenge is that very often mysqld crashes with this crash;
2014-11-24 07:55:05 3237 [Note] InnoDB: Resuming purgemysqld: /mnt/workspace/ percona- server- 5.6-binaries- debug-yassl/ label_exp/ centos6- 64/percona- server- 5.6.21- 70.0/sql/ lock.cc: 1142: void Global_ backup_ lock::release( THD*): Assertion `m_lock != __null && thd->mdl_ context. is_lock_ owner(m_ namespace, "", "", MDL_SHARED)' failed.
20:55:05 UTC - mysqld got signal 6 ;
Which stops going through the testcase short. It may help to put a patch for this bug into the code first.
I have added another testcase in that bug @ comment #3 which is reduced from this testcase.