• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

skeema / skeema / 12334053357
93%
main: 92%

Build:
Build:
LAST BUILD BRANCH: annotate-v2-comments
DEFAULT BRANCH: main
Ran 14 Dec 2024 11:54PM UTC
Jobs 1
Files 77
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Dec 2024 11:38PM UTC coverage: 93.163% (-0.05%) from 93.215%
12334053357

push

github

evanelias
tests: TLS coverage for flavors lacking automatic support

In MySQL 5.7+ and MariaDB 11.4+, encrypted connections are available out-of-
the-box, since these flavors create self-signed certs automatically upon
server initialization. In the previous commit, integration test coverage for
TLS connections was added into TestInitHandler for these flavors. However,
similar TLS coverage was missing for older flavors.

This commit adds the missing coverage for older flavors, by including logic
to enable TLS in any database container as needed.

This also inherently tests legacy TLS edge-cases:

* TLS 1.0 support for MySQL 5.5-5.6
* RSA kex cipher suites in MySQL 5.5-5.6 and MariaDB 10.1

This commit includes self-signed certs in a testdata subdirectory. These
should only ever be used for testing purposes, and were generated as follows:

  openssl genrsa 4096 > ca-key.pem
  openssl req -new -x509 -nodes -days 365000 -key ca-key.pem -out ca-cert.pem
  openssl req -newkey rsa:2048 -days 365000 -nodes -keyout server-key.pem -out server-req.pem
  openssl rsa -in server-key.pem -out server-key.pem
  openssl x509 -req -in server-req.pem -days 365000 -CA ca-cert.pem -CAkey ca-key.pem -set_serial 01 -out server-cert.pem

25 of 33 new or added lines in 2 files covered. (75.76%)

10219 of 10969 relevant lines covered (93.16%)

1.11 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12334053357.1 14 Dec 2024 11:54PM UTC 0
93.16
GitHub Action Run
Source Files on build 12334053357
Detailed source file information is not available for this build.
  • Back to Repo
  • 7a4fbcdb on github
  • Prev Build on tls-fixes-old-flavors (#12285678174)
  • Next Build on tls-fixes-old-flavors (#12359800731)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc