Skip to content

Commit ee6acc0

Browse files
committed
Bug#22602898 NDB : CURIOUS STATE OF TC COMMIT_SENT / COMPLETE_SENT TIMEOUT HANDLING
[post push fix] compiler warning/error from clang 14 ...test/ndbapi/testNodeRestart.cpp:11157:5: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] "Stall in complete", NdbTransaction::Commit, 5111, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } Change-Id: I00c281f101bbfcada9e6cef5164130ad83f7f415
1 parent 15f94b3 commit ee6acc0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

storage/ndb/test/ndbapi/testNodeRestart.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10932,16 +10932,18 @@ int runTestStallTimeout(NDBT_Context* ctx, NDBT_Step* step)
1093210932
};
1093310933

1093410934
TestCase testcases[] = {
10935+
{
1093510936
"Stall in commit", /* LQH execCOMMIT() */
1093610937
NdbTransaction::Commit,
1093710938
5110,
1093810939
false, /* Commit stall blocks API ack */
10939-
10940+
},{
1094010941
"Stall in complete", /* LQH execCOMPLETE() */
1094110942
NdbTransaction::Commit,
1094210943
5111,
1094310944
true /* Complete stall does not block
1094410945
* API ack (ReadPrimary) */
10946+
}
1094510947
};
1094610948

1094710949
for (int stallPoint = 0; stallPoint < 2; stallPoint++)
@@ -11151,8 +11153,8 @@ int runTestStallTimeoutAndNF(NDBT_Context* ctx, NDBT_Step* step)
1115111153
};
1115211154

1115311155
TestCase testcases[] = {
11154-
"Stall in commit", NdbTransaction::Commit, 5110,
11155-
"Stall in complete", NdbTransaction::Commit, 5111,
11156+
{"Stall in commit", NdbTransaction::Commit, 5110, },
11157+
{"Stall in complete", NdbTransaction::Commit, 5111, }
1115611158
};
1115711159

1115811160
const char* failTypes[] = {

0 commit comments

Comments
 (0)