-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Closed
Labels
Description
This test fails:
Completable.complete()
.andThen{ Completable.complete() }
.test()
.assertComplete()
However this one succeeds:
Completable.complete()
.test()
.assertComplete()
This one also succeeds:
Flowable.just("")
.flatMap { Flowable.just("") }
.test()
.assertComplete()
My understanding is that concating (which is what andThen does?) two completables which complete immediately should complete.
I tried:
- using
awaitForTerminalEvent
but it just runs forever in the first case. .andThen{}
instead of.andThen{ Completable.complete() }
Completable.fromCallable
instead ofCompletable.complete()
or switching from aFlowable
toCompletable
jemshit, nikmoon, IRRustam and ericntd