Created
December 11, 2017 15:47
-
-
Save guliash/73752bc41a5cf5725ecb36bd419ff5a7 to your computer and use it in GitHub Desktop.
RetryWhenWithoutComposingErrors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void retryWhenWithoutComposingErrors() { | |
TestSubscriber subscriber = new TestSubscriber(); | |
Observable.just(1) | |
.retryWhen(errors -> Observable.never()) | |
.subscribe(subscriber); | |
subscriber.assertCompleted(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment