################################################################################
# WL#6969    Additional concurrency tests for BGC
#
# Concurrency test verifies that there is not deadlock on unordered group commit
# when semi-sync is enabled
#
# ################################################################################
--source include/not_group_replication_plugin.inc
# Want to skip this test from daily Valgrind execution
--source include/no_valgrind_without_big.inc
# Adding big test option for this test.
--source include/big_test.inc
--source include/have_debug.inc
--source include/master-slave.inc
--source include/install_semisync.inc
SET @max_binlog_size_save= @@GLOBAL.MAX_BINLOG_SIZE;
SET @@GLOBAL.MAX_BINLOG_SIZE= 4096;
SET @@GLOBAL.BINLOG_ORDER_COMMITS= FALSE;
SET GLOBAL rpl_semi_sync_master_timeout= 600000;

--let $connections= 11
--let $loops= 500
--let $error_simulation= 0

--source extra/rpl_tests/rpl_semi_sync_group_commit_deadlock.inc

--connection master
SET @@GLOBAL.BINLOG_ORDER_COMMITS= TRUE;
SET @@GLOBAL.MAX_BINLOG_SIZE= @max_binlog_size_save;

--source include/uninstall_semisync.inc
--source include/rpl_end.inc
