Skip to content

Commit f76df3a

Browse files
committed
Merge cluster-7.6 -> mysql-8.0
2 parents 2fbdd11 + 1455b2d commit f76df3a

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

storage/ndb/test/ndbapi/testUpgrade.cpp

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2545,7 +2545,7 @@ TESTCASE("ChangeHalfRestartChangeHalf",
25452545
"then changing the others")
25462546
{
25472547
TC_PROPERTY("HalfStartedHold", Uint32(1));
2548-
/* Skip MGMDs until 8.0 v1 config bug fixed */
2548+
// Don't restart MGMDs
25492549
TC_PROPERTY("MgmdNodeSet", Uint32(None));
25502550
INITIALIZER(runCheckStarted);
25512551
INITIALIZER(runReadVersions);
@@ -2554,6 +2554,20 @@ TESTCASE("ChangeHalfRestartChangeHalf",
25542554
// No postupgrade as we do not upgrade API
25552555
}
25562556

2557+
TESTCASE("ChangeMGMDChangeHalfRestartChangeHalf",
2558+
"Try changing MGMD then half datanodes, then rolling restart all "
2559+
"then changing the others")
2560+
{
2561+
TC_PROPERTY("HalfStartedHold", Uint32(1));
2562+
// Restart MGMDs
2563+
TC_PROPERTY("MgmdNodeSet", Uint32(All));
2564+
INITIALIZER(runCheckStarted);
2565+
INITIALIZER(runReadVersions);
2566+
STEP(runUpgrade_Half);
2567+
STEP(restartDataNodesAtHalfWay);
2568+
// No postupgrade as we do not upgrade API
2569+
}
2570+
25572571

25582572
// Downgrade tests //
25592573

storage/ndb/test/run-test/upgrade-tests.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,7 @@ cmd: testUpgrade
8585
args: -n ChangeHalfRestartChangeHalf T1
8686
max-time: 1200
8787

88+
cmd: testUpgrade
89+
args: -n ChangeMGMDChangeHalfRestartChangeHalf T1
90+
max-time: 1200
8891

0 commit comments

Comments
 (0)