Skip to content

Commit a97ff42

Browse files
committed
fix(test): spelling mistakes of ACQUIRE_TIMEOUT constant
1 parent f6a5fa8 commit a97ff42

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/integration/test-pool-acquire-timeout.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ const common = require('../common');
77

88
const poolConfig = common.getConfig();
99

10-
const ACQUITE_TIMEOUT = 500;
10+
const ACQUIRE_TIMEOUT = 500;
1111
const poolWithAcquireTimeout = new mysql.createPool({
1212
...poolConfig,
13-
acquireTimeout: ACQUITE_TIMEOUT,
13+
acquireTimeout: ACQUIRE_TIMEOUT,
1414
connectionLimit: 2
1515
});
1616

@@ -32,8 +32,8 @@ poolWithAcquireTimeout.getConnection((err, c1) => {
3232
'timeout of pool is full': () => {
3333
assert.equal(e3 !== null, true);
3434
assert.equal(!c3, true);
35-
assert.equal(C3_DONE_AT - C3_STARTED_AT >= ACQUITE_TIMEOUT, true);
36-
assert.equal(C3_DONE_AT - C3_STARTED_AT < ACQUITE_TIMEOUT * 2, true);
35+
assert.equal(C3_DONE_AT - C3_STARTED_AT >= ACQUIRE_TIMEOUT, true);
36+
assert.equal(C3_DONE_AT - C3_STARTED_AT < ACQUIRE_TIMEOUT * 2, true);
3737
},
3838
'ok if pool is not full': () => {
3939
assert.equal(e4 === null, true);

0 commit comments

Comments
 (0)