Skip to content

Commit 8754b82

Browse files
committed
[misc] update test for timeout
1 parent dc361ac commit 8754b82

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

test/integration/test-pool.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,11 @@ describe('Pool', () => {
2424
connectionLimit: 1
2525
});
2626
pool
27-
.query({
28-
sql:
29-
'DROP TABLE IF EXISTS t; ' +
27+
.query('DROP TABLE IF EXISTS t; ' +
3028
'CREATE TABLE t (i int);\n' +
3129
'INSERT INTO t(i) VALUES (1);\n' +
32-
'SELECT i FROM t; ',
33-
timeout: 3000
34-
})
30+
'SELECT i FROM t; '
31+
)
3532
.then(res => {
3633
assert.equal(2, res.length);
3734
assert.equal(4, res[0].length);

0 commit comments

Comments
 (0)