dimsuz
08/16/2016, 9:28 AMWhy would you need it? Just use @afterEach on top levelfor some reason injecting io scheduler this way doesn't work on my CI server (tests fail) while it does work everywhere else (tests pass). It even works on CI server when I run tests by hand with
gradlew test. But when CI agent runs the build it constantly fails. And if I remove explicity subscribeOn(<http://Schedulers.io|Schedulers.io>()) it gets fixed immediately... I'm puzzled (for now).