Skip to content

Commit 7de5f86

Browse files
committed
WL#15154 patch #9 Implement rules for node startup
Post push fix. Tests testMgmd -n NdbdWithoutCertificate and testMgmd -n NdbdWithExpiredCertificate wait 100ms for data node to start and stop due to missing respectively invalid certiticates. In some environments 100ms is not enough, extending wait time to 1s. Change-Id: I964b4bd4b0b2a8cd89998a26034fffc5ef32e99b
1 parent b891235 commit 7de5f86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

storage/ndb/test/ndbapi/testMgmd.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2025,7 +2025,7 @@ runTestNdbdWithoutCert(NDBT_Context* ctx, NDBT_Step* step)
20252025

20262026
int exit_code; // Start ndbd; it will fail
20272027
CHECK(ndbd.start(wd.path(), mgmd.connectstring(config)));
2028-
CHECK(ndbd.wait(exit_code, 100)); // should fail quickly
2028+
CHECK(ndbd.wait(exit_code, 1000)); // should fail quickly
20292029
require(exit_code == 255);
20302030

20312031
CHECK(mgmd.stop());
@@ -2058,7 +2058,7 @@ runTestNdbdWithExpiredCert(NDBT_Context* ctx, NDBT_Step* step)
20582058
ndbd.start(wd.path(), mgmd.connectstring(config)); // Start data node
20592059

20602060
int exit_code;
2061-
CHECK(ndbd.wait(exit_code, 100)); // should fail quickly
2061+
CHECK(ndbd.wait(exit_code, 1000)); // should fail quickly
20622062
CHECK(exit_code == 255);
20632063

20642064
CHECK(mgmd.stop());

0 commit comments

Comments
 (0)