nylas / sync-engine

:incoming_envelope: IMAP/SMTP sync system with modern APIs
https://nylas.com/docs/platform
GNU Affero General Public License v3.0
3.5k stars 354 forks source link

Hypothesis data generation is slow #333

Closed mhahnenberg closed 8 years ago

mhahnenberg commented 8 years ago

We currently use hypothesis to auto generate randomized data for some of our IMAP sync tests. Unfortunately, the amount of data we're autogenerating is causing noticeable slowdowns in these tests. We don't need this much data to verify the sync engine is working, so we should reduce the amount which should speed up both the autogeneration as well as the sync engine portion of the test.

This is part of the larger ongoing effort to speedup tests, see #329