Skip to content
Permalink
Browse files
MDEV-12758 wrep.pool_of_threads failed in buildbot with WSREP ...
Problem:- While running tests from wsrep suite , we include file have_wsrep.inc
or have_wsrep_enabled.inc , these file test wsrep plugin is ACTIVE or 'wsrep_on'
is ON. These select does not ensure that whether 'wsrep_ready' is ON , So that
we can process SQL queries. So sometimes we will get error like this
mysqltest: At line 81: query 'call mtr.check_testcase()' failed: 1047: WSREP has
not yet prepared node for application use  not ok

Solution:- In file have_wsrep.inc and have_wsrep_enabled.inc we will include
wait_until_ready.inc , which will wait untill 'wsrep_on' is on
  • Loading branch information
mariadb-SachinSetiya committed Jun 29, 2017
1 parent 7c997f4 commit 629c609
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
@@ -5,4 +5,5 @@ if (`SELECT COUNT(*)=0 FROM INFORMATION_SCHEMA.PLUGINS WHERE PLUGIN_NAME = 'wsre
{
--skip Test requires wsrep plugin.
}
--source include/wait_until_ready.inc

@@ -8,4 +8,5 @@ if (`SELECT COUNT(*)=0 FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES WHERE VARIABLE_N
{
--skip Test requires wsrep_on=ON
}
--source include/wait_until_ready.inc

@@ -1,4 +1,3 @@
--source include/have_wsrep.inc
--source include/have_innodb.inc
--source include/master-slave.inc

0 comments on commit 629c609

Please sign in to comment.