Skip to content

Commit 911afd7

Browse files
committed
Merge cluster-7.4 -> cluster-7.5
2 parents 42bcc17 + 59163ba commit 911afd7

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
@@ -2531,7 +2531,7 @@ TESTCASE("ChangeHalfRestartChangeHalf",
25312531
"then changing the others")
25322532
{
25332533
TC_PROPERTY("HalfStartedHold", Uint32(1));
2534-
/* Skip MGMDs until 8.0 v1 config bug fixed */
2534+
// Don't restart MGMDs
25352535
TC_PROPERTY("MgmdNodeSet", Uint32(None));
25362536
INITIALIZER(runCheckStarted);
25372537
INITIALIZER(runReadVersions);
@@ -2540,6 +2540,20 @@ TESTCASE("ChangeHalfRestartChangeHalf",
25402540
// No postupgrade as we do not upgrade API
25412541
}
25422542

2543+
TESTCASE("ChangeMGMDChangeHalfRestartChangeHalf",
2544+
"Try changing MGMD then half datanodes, then rolling restart all "
2545+
"then changing the others")
2546+
{
2547+
TC_PROPERTY("HalfStartedHold", Uint32(1));
2548+
// Restart MGMDs
2549+
TC_PROPERTY("MgmdNodeSet", Uint32(All));
2550+
INITIALIZER(runCheckStarted);
2551+
INITIALIZER(runReadVersions);
2552+
STEP(runUpgrade_Half);
2553+
STEP(restartDataNodesAtHalfWay);
2554+
// No postupgrade as we do not upgrade API
2555+
}
2556+
25432557

25442558
// Downgrade tests //
25452559

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)