Skip to content

Commit 2df2038

Browse files
committed
[misc] correcting SkySQL tests
1 parent 8719a86 commit 2df2038

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

test/integration/test-pool-callback-event.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ const path = require('path');
99
const os = require('os');
1010

1111
describe('Pool callback event', () => {
12+
before(function () {
13+
if (process.env.SKYSQL != null) this.skip();
14+
});
15+
1216
it('pool connection creation', function (done) {
1317
this.timeout(10000);
1418
const pool = base.createPoolCallback();

test/integration/test-ssl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ describe('ssl', function () {
514514
});
515515

516516
it('Mutual authentication providing client keystore', function (done) {
517-
if (process.env.SKYSQL) this.skip();
517+
if (process.env.SKYSQL != null) this.skip();
518518
if (!sslEnable) this.skip();
519519
if (!ca || !clientKeystore) this.skip();
520520
if (!base.utf8Collation()) this.skip();

0 commit comments

Comments
 (0)