cyrusimap / cassandane

Other
6 stars 11 forks source link

[Idle] Enssure idled is working as expected. #31

Closed ajaysusarla closed 7 years ago

ajaysusarla commented 7 years ago

By setting the timeout to 60 seconds(which is the timeout if imapidlepoll isn't set in the imapd.conf and ensure that idled responds immediately, we make sure that idled is working as expected. This test fails if the response takes longer than 5 seconds, it is a problem when running on slow machines. Will bump the 5 second time based on how the test works on CI.