dimsuz
08/15/2016, 12:17 PMyou helped us uncover a really annoying performance problem, which when fixed can improve life for almost every Kotlin developer@orangy: this might be a bit late reaction, but is there any YT issue I can track? Currently I am arranging my code a bit differently as a workaround and I'd like to stick a comment which describes when this workaround can be removed 🙂
orangy
dimsuz
08/15/2016, 4:28 PMRxJavaHooks.reset(); RxJavaHooks.onIOScheduler(Schedulers.immediate())
? I try to call it in several places: a) in describe()
body b) in Spek({ beforeEach() { HERE } describe()...
and I have a strange result: my tests which rely on sync-behaviour of io-scheduler always pass on my local machine, but always fail on CI server? o_O Didn't have time to investigate deeply yet, thought that maybe this is some known symptom...artem_zin
08/15/2016, 5:24 PMdimsuz
08/15/2016, 5:34 PM@BeforeClass
kirillrakhman
08/15/2016, 5:40 PMdimsuz
08/15/2016, 5:59 PMartem_zin
08/15/2016, 7:59 PMdimsuz
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).artem_zin
08/16/2016, 9:32 AMdimsuz
08/16/2016, 10:01 AMnk
nk
dimsuz
08/16/2016, 2:35 PMhhariri
artem_zin
08/18/2016, 10:26 AMon/describe/context/given
2. Non-clean run of tests fails even though app under the test have clean state each time
3. Negative test run duration in reports (-248 ms
, etc)hhariri
raniejade
08/18/2016, 10:53 AMartem_zin
08/18/2016, 10:53 AM1.0.25
artem_zin
08/18/2016, 10:53 AM1.0
stable enough to try it?raniejade
08/18/2016, 10:57 AMraniejade
08/18/2016, 10:58 AMartem_zin
08/18/2016, 11:06 AMjohn.shelley
08/18/2016, 2:08 PM1.0
higher then 1.0.25
somehow? what does new 1.0
mean?hhariri
adambl4
08/23/2016, 9:54 AMbeforeEach
before on
in the Spek snapshot?simon.vergauwen
08/26/2016, 10:26 AMdmitriy.m
08/26/2016, 11:40 AMsimon.vergauwen
08/26/2016, 11:41 AMsimon.vergauwen
08/26/2016, 11:41 AMPowerMockito.mockStatic(Uri::class.java)
`when`(Uri.parse(parseUrlString)).thenReturn(uri)