Skip to content

Commit d16608e

Browse files
committed
BUG#35696649 NDBT_Test is missing support for TLS
Adds TLS support for Ndb_cluster_connection used to create test-wide NDBT_Context. Change-Id: I3a7df2e4cf8a6af40e6a4e316d0ff8448b96458c
1 parent f2514ec commit d16608e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

storage/ndb/test/src/NDBT_Test.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1553,6 +1553,8 @@ static struct my_option my_long_options[] =
15531553
NdbStdOpt::connectstring,
15541554
NdbStdOpt::ndb_nodeid,
15551555
NdbStdOpt::optimized_node_selection,
1556+
NdbStdOpt::tls_search_path,
1557+
NdbStdOpt::mgm_tls,
15561558
NDB_STD_OPT_DEBUG
15571559
{ "backup-password", NDB_OPT_NOSHORT,
15581560
"Password to use for encrypted backup files",
@@ -1828,6 +1830,7 @@ int NDBT_TestSuite::execute(int argc, const char** argv){
18281830
}
18291831

18301832
Ndb_cluster_connection con(opt_ndb_connectstring, opt_ndb_nodeid);
1833+
con.configure_tls(opt_tls_search_path, opt_mgm_tls);
18311834
if(m_connect_cluster && con.connect(12, 5, 1))
18321835
{
18331836
return NDBT_ProgramExit(NDBT_FAILED);

0 commit comments

Comments
 (0)