Fix crashing fetch tests by setting keepalive = false

When keepalive = true (the default), additional IDLE requests are sent
to the IMAP server. The mock IMAP servers in the tests are not set up
to respond to the IDLE request.
fork
Ross Johnson 11 years ago
parent 1c5f756056
commit d932d3db56

@ -53,7 +53,8 @@ srv.listen(0, '127.0.0.1', function() {
user: 'foo',
password: 'bar',
host: '127.0.0.1',
port: port
port: port,
keepalive: false
});
imap.on('ready', function() {
imap.openBox('INBOX', true, function() {

@ -53,7 +53,8 @@ srv.listen(0, '127.0.0.1', function() {
user: 'foo',
password: 'bar',
host: '127.0.0.1',
port: port
port: port,
keepalive: false
});
imap.on('ready', function() {
imap.openBox('INBOX', true, function() {

Loading…
Cancel
Save