pushtorefresh / storio

Reactive API for SQLiteDatabase and ContentResolver.
Apache License 2.0
2.54k stars 182 forks source link

CI freezes. #826

Closed artem-zinnatullin closed 7 years ago

artem-zinnatullin commented 7 years ago

We're seeing "random" CI freezes for a long time, sometimes more often.

Latest observed logs from 2 different builds show that latest test in the output before freeze is:

com.pushtorefresh.storio2.sqlite.integration.RxQueryTest > queryOneExistedObjectTableUpdate PASSED

So my guess is that one of the tests in RxQueryTest has racy deadlock.

I'd start solving it by adding Timeout rule for whole RxQueryTest with reasonable timeout ie 30 seconds, that way we'll figure out which test causes the problem because it'll fail the build properly.

@nikitin-da can you please try that if you have time? Otherwise I'll take care of that later :)