Skip to content

Commit 6a999f7

Browse files
committed
Bug#36483326 Run ndb tests with hardening features on in PB2 even if TLS is not supported
Add mysql-test/suite/ndb/secure.cnf that include the configuration for turning on NDB encrypted backups (encrypted_backup.cnf) and NDB TDE (encrypted_filesystem.cnf). Use like: ./mtr --defaults-extra-file=suite/ndb/secure.cnf ... Above is used in testing added to weekly runs in PB2. Change-Id: Ia3965ac13bee1c522cb643f0b28b807cd956348d
1 parent 5e99590 commit 6a999f7

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

mysql-test/collections/default.weekly-ndbcluster

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ perl mysql-test-run.pl --force --timer --big-test --testcase-timeout=90 --debug
1616
perl mysql-test-run.pl --force --timer --big-test --testcase-timeout=90 --debug-server --comment=ndbcluster --vardir=var-ndbcluster --suite=ndbcluster
1717
# ps-protocol
1818
perl mysql-test-run.pl --force --timer --big-test --testcase-timeout=90 --debug-server --comment=ndbcluster_ps --vardir=var-ndbcluster-ps --ps-protocol --suite=ndbcluster
19+
# with security features in ndb cluster: encrypted backup, TDE.
20+
perl mysql-test-run.pl --force --timer --big-test --testcase-timeout=90 --debug-server --comment=ndbcluster-sec --vardir=var-ndbcluster-sec --suite=ndbcluster --defaults-extra-file=suite/ndb/secure.cnf
1921

2022
# 3. Run the suites that are not part of the default - funcs_2, stress, jp, nist
2123
perl mysql-test-run.pl --force --timer --big-test --testcase-timeout=60 --debug-server --comment=funcs2-debug --vardir=var-funcs2-big --suite=funcs_2

mysql-test/collections/default.weekly.basic

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ perl mysql-test-run.pl --debug-server --force --timer --testcase-timeout=60 --su
1414
# Run all ndb tests separately.
1515
# If no Ndb support, no tests will be attempted.
1616
perl mysql-test-run.pl --debug-server --force --timer --testcase-timeout=60 --suite-timeout=600 --comment=ndb --vardir=var-ndb --report-features --no-skip --with-ndb-only
17+
# with security features in ndb cluster: encrypted backup, TDE.
18+
perl mysql-test-run.pl --debug-server --force --timer --testcase-timeout=60 --suite-timeout=600 --comment=ndb-sec --vardir=var-ndb-sec --report-features --no-skip --with-ndb-only --defaults-extra-file=suite/ndb/secure.cnf
1719

1820
############END OF SECTION1(DEFAULT SUITES) ######################
1921

mysql-test/suite/ndb/secure.cnf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
!include encrypted_backup.cnf
2+
!include encrypted_filesystem.cnf

0 commit comments

Comments
 (0)