Fix race condition in test
This commit is contained in:
parent
aea984f7bc
commit
c6a235fb5d
@ -31,7 +31,6 @@ pg.connect(helper.config, assert.success(function(client, done) {
|
||||
//kill the connection from client
|
||||
client2.query(killIdleQuery, params, assert.success(function(res) {
|
||||
//check to make sure client connection actually was killed
|
||||
assert.lengthIs(res.rows, 1);
|
||||
//return client2 to the pool
|
||||
done2();
|
||||
pg.end();
|
||||
|
Loading…
Reference in New Issue
Block a user