grafana / xk6-sql-driver-mysql

xk6-sql driver extension for MySQL database support
GNU Affero General Public License v3.0
0 stars 0 forks source link

TLS configuration feature refactoring #4

Open szkiba opened 4 hours ago

szkiba commented 4 hours ago

The current TLS configuration API is broken. It passes file names and the go code loads these files with normal file operations. This contradicts the expectations of the k6 runtime, that no file operations can be performed while the test is running. The files should be loaded with the k6 JavaScript open() function and passed to the loadTLS() function as a byte array.

szkiba commented 4 hours ago

Hi @surajvshankar, FYI

We would appreciate it if you could help improve the MySQL TLS configuration feature you contributed.