Skip to content

Commit 81ce2f6

Browse files
committed
Make test more robust
1 parent 44784fa commit 81ce2f6

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

test/integration/client/heroku-ssl-tests.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ var config = {
1717

1818
//connect & disconnect from heroku
1919
pg.connect(config, assert.success(function(client, done) {
20-
done();
21-
pg.end();
20+
client.query('SELECT NOW() as time', assert.success(function(res) {
21+
assert(res.rows[0].time.getTime());
22+
done();
23+
pg.end();
24+
}))
2225
}));

0 commit comments

Comments
 (0)