Skip to content

Commit a08fa29

Browse files
authored
test(mysql2): pin mysql2 to v1.6.1 (#652)
Version 1.6.2 has a bug. This pin should be undone when the following issue is fixed: sidorares/node-mysql2#869
1 parent 3958964 commit a08fa29

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.tav.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ mysql:
2020
- node test/instrumentation/modules/mysql/mysql.js
2121
- node test/instrumentation/modules/mysql/pool-release-1.js
2222
mysql2:
23-
versions: ^1.0.0
23+
versions: '>=1.0.0 <1.6.2 || ^1.6.3' # v1.6.2 is broken: https://github.com/sidorares/node-mysql2/issues/869
2424
commands:
2525
- node test/instrumentation/modules/mysql2/mysql.js
2626
- node test/instrumentation/modules/mysql2/pool-release-1.js

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
"mkdirp": "^0.5.0",
123123
"mongodb-core": "^3.0.2",
124124
"mysql": "^2.14.1",
125-
"mysql2": "^1.5.1",
125+
"mysql2": "1.6.1",
126126
"nyc": "^12.0.2",
127127
"once": "^1.4.0",
128128
"p-finally": "^1.0.0",

0 commit comments

Comments
 (0)