fix end race in test
This commit is contained in:
parent
3b2f4134b2
commit
173f3f37b2
@ -8,7 +8,6 @@ test('error during query execution', function() {
|
||||
client.query(sleepQuery, assert.calls(function(err, result) {
|
||||
assert(err);
|
||||
client.end();
|
||||
assert.emits(client, 'end');
|
||||
}));
|
||||
var client2 = new Client(helper.args);
|
||||
client2.connect(assert.success(function() {
|
||||
|
Loading…
Reference in New Issue
Block a user