1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

Move mysql-test-run/extra/rpl_tests to suite/rpl/include

Renamed suite/rpl/include/rpl_sync.inc to rpl_sync_test.inc to
remove clash with include/rpl_sync.inc
This commit is contained in:
Michael Widenius
2018-03-09 15:14:33 +02:00
committed by Monty
parent 108ed22854
commit 39018f2a5a
290 changed files with 891 additions and 890 deletions

View File

@@ -5,8 +5,8 @@
# is correct.
#
# We test a number of different topologies. Each topology is tested
# in extra/rpl_tests/rpl_test_framework.inc. See
# extra/rpl_tests/rpl_test_framework.inc for details on how the sync
# in include/rpl_test_framework.inc. See
# include/rpl_test_framework.inc for details on how the sync
# chain is tested.
#
# ==== Related bugs ====
@@ -36,7 +36,7 @@ CREATE TABLE t1 (a INT);
--source include/rpl_end.inc
# Initialize $next_number before first call to
# extra/rpl_tests/rpl_test_framework.text
# include/rpl_test_framework.text
--let $next_number= 0
@@ -46,43 +46,43 @@ CREATE TABLE t1 (a INT);
--let $rpl_topology= 1 -> 2
--let $masters= 1,3
--source extra/rpl_tests/rpl_test_framework.inc
--source include/rpl_test_framework.inc
--let $rpl_topology= 2 -> 3
--let $masters= 1,2
--source extra/rpl_tests/rpl_test_framework.inc
--source include/rpl_test_framework.inc
--let $rpl_topology= none
--let $masters= 1,2,3
--source extra/rpl_tests/rpl_test_framework.inc
--source include/rpl_test_framework.inc
--let $rpl_topology= 1->2, 2->1
--let $masters= 1,3
--source extra/rpl_tests/rpl_test_framework.inc
--source include/rpl_test_framework.inc
--let $rpl_topology= 1->2->1
--let $masters= 2,3
--source extra/rpl_tests/rpl_test_framework.inc
--source include/rpl_test_framework.inc
--let $rpl_topology= 2->1->2
--let $masters= 1,3
--source extra/rpl_tests/rpl_test_framework.inc
--source include/rpl_test_framework.inc
--let $rpl_topology= 1->2->3
--let $masters= 1
--source extra/rpl_tests/rpl_test_framework.inc
--source include/rpl_test_framework.inc
--let $rpl_topology= 2->3->2->1
--let $masters= 3
--source extra/rpl_tests/rpl_test_framework.inc
--source include/rpl_test_framework.inc
--let $rpl_topology= 1->2,2->3,3->1
--let $masters= 3
--source extra/rpl_tests/rpl_test_framework.inc
--source include/rpl_test_framework.inc
--let $rpl_topology= 1->3->2->1
--let $masters= 3
--source extra/rpl_tests/rpl_test_framework.inc
--source include/rpl_test_framework.inc
--echo ==== Test 6-server topologies ====
@@ -91,19 +91,19 @@ CREATE TABLE t1 (a INT);
--let $rpl_topology= 1->2->3->4->1->5->6
--let $masters= 1
--source extra/rpl_tests/rpl_test_framework.inc
--source include/rpl_test_framework.inc
--let $rpl_topology= 3->4->5->6->3->1->2
--let $masters= 4
--source extra/rpl_tests/rpl_test_framework.inc
--source include/rpl_test_framework.inc
--let $rpl_topology= 6->5->4->3->2->1
--let $masters= 6
--source extra/rpl_tests/rpl_test_framework.inc
--source include/rpl_test_framework.inc
--let $rpl_topology= 1->2->3->1,4->5->6
--let $masters= 3,4
--source extra/rpl_tests/rpl_test_framework.inc
--source include/rpl_test_framework.inc
--echo ==== Test 9-server topology ====
@@ -112,7 +112,7 @@ CREATE TABLE t1 (a INT);
--let $rpl_topology= 1->2, 2->3, 3->4, 4->5, 5->1, 1->6, 6->7, 6->8, 8->9
--let $masters= 2
--source extra/rpl_tests/rpl_test_framework.inc
--source include/rpl_test_framework.inc
if ($mtr_supports_more_than_10_servers) {
--echo ==== Test 15-server topologies ====
@@ -121,12 +121,12 @@ if ($mtr_supports_more_than_10_servers) {
--let $rpl_topology= 1->2->3->4->5->6->7->8->9->10->11->12->13->14->15->1
--let $masters= 2
--source extra/rpl_tests/rpl_test_framework.inc
--source include/rpl_test_framework.inc
# This is a binary tree
--let $rpl_topology= 1->2->4->8,1->3->6->12,2->5->10,3->7->14,4->9,5->11,6->13,7->15
--let $masters= 1
--source extra/rpl_tests/rpl_test_framework.inc
--source include/rpl_test_framework.inc
}
--echo ==== Clean up ====