Commit eeb56e2
committed
Disable SSL when not needed in MySQL client tests
By default, the MySQL Client prefers SSL if available on the server.
But since we have a self-signed certificate for testing, the client does not accept it.
Therefore, it fallbacks to no SSL and creates two connections in total.
That is why a couple metrics test fail, because the test expect only one connection to be closed.
Signed-off-by: Thomas Segismont <tsegismont@gmail.com>1 parent c4a00e7 commit eeb56e2
File tree
1 file changed
+6
-1
lines changed- vertx-mysql-client/src/test/java/io/vertx/tests/mysqlclient/junit
1 file changed
+6
-1
lines changedLines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
53 | | - | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
59 | 64 | | |
60 | 65 | | |
61 | 66 | | |
| |||
0 commit comments