Skip to content

Commit dc361ac

Browse files
committed
Merge branch 'master' into develop
2 parents bd8a2dd + f63f42c commit dc361ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/test-connection-opts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ describe('connection option', () => {
451451

452452
it('connection timeout superseded', function(done) {
453453
this.timeout(10000);
454-
if (!shareConn.info.isMariaDB() && !shareConn.info.hasMinVersion(10, 1, 2)) this.skip();
454+
if (!shareConn.info.isMariaDB() || !shareConn.info.hasMinVersion(10, 1, 2)) this.skip();
455455
base
456456
.createConnection({ multipleStatements: true, queryTimeout: 10000000 })
457457
.then(conn => {

0 commit comments

Comments
 (0)