Commit 3015aaa
authored
Fix a couple of intermittent test failures for the MySQL client (#1658)
* Fix intermittent MySQLConnectionTest#testInflightCommandsFailWhenConnectionClosed failure
The process info should match the sleep query that was executed.
Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
* Fix intermittent MySQLUnixDomainSocketTest.connectWithVertxInstance failure
Manage the dedicated Vert.x and Pool instance separately from the object instances.
Otherwise, the dedicated Vert.x instance is closed asynchronously and then the client stored in the fields cannot be properly closed in the tear down method.
Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
---------
Signed-off-by: Thomas Segismont <tsegismont@gmail.com>1 parent 06c23cc commit 3015aaa
File tree
2 files changed
+8
-4
lines changed- vertx-mysql-client/src/test/java/io/vertx/tests/mysqlclient
2 files changed
+8
-4
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
104 | 105 | | |
105 | | - | |
| 106 | + | |
106 | 107 | | |
107 | | - | |
| 108 | + | |
108 | 109 | | |
109 | 110 | | |
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
115 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
116 | 120 | | |
117 | 121 | | |
118 | 122 | | |
| |||
0 commit comments