Skip to content

Commit 82e441c

Browse files
committed
Bug#36018640 Test UnresolvedHosts2 passes but ndbd aborts and dumps core
In testMgmd, start ndbd with --core-file=0 to avoid that invalid configuration error takes the abnormal exit path. Use --loose prefix as the --core-file argument only exists in debug compiled binaries. Change-Id: I8e217846fb62eaa1e86c10c480c0283082a74a91
1 parent 3293a88 commit 82e441c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

storage/ndb/test/ndbapi/testMgmd.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ class Ndbd : public Mgmd {
321321
args.add(connect_string.c_str());
322322
args.add("--ndb-nodeid=", m_nodeid);
323323
args.add("--foreground");
324+
args.add("--loose-core-file=0");
324325
return Mgmd::start(working_dir, args);
325326
}
326327

0 commit comments

Comments
 (0)