Skip to content

Commit

Permalink
[misc] test improvement for windows env
Browse files Browse the repository at this point in the history
  • Loading branch information
rusher committed Jun 4, 2021
1 parent ce05265 commit e391494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/test-pool-callback.js
Expand Up @@ -125,7 +125,7 @@ describe('Pool callback', () => {
});
pool.getConnection((err, conn) => {
conn.query('SELECT SLEEP(1)', () => {
assert(Date.now() - initTime >= 1999, 'expected > 2s, but was ' + (Date.now() - initTime));
assert(Date.now() - initTime >= 1985, 'expected > 2s, but was ' + (Date.now() - initTime));
conn.release();
pool.end((err) => {
done();
Expand Down

0 comments on commit e391494

Please sign in to comment.