Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: How could I test case with an infinite Observable? #34

Open
sboishtyan opened this issue Jan 21, 2021 · 0 comments
Open

Question: How could I test case with an infinite Observable? #34

sboishtyan opened this issue Jan 21, 2021 · 0 comments

Comments

@sboishtyan
Copy link

Details:
While we wait for a response from the backend we show a progress bar.
We simulate waiting by return a fake response with Observable.never() and it leads the test to IdlingTimeoutException because we wait infinitely.

A possible solution I see: unregister IdleResources for such rare test scenarios

Maybe you solve somehow similar tasks at Squre

@sboishtyan sboishtyan changed the title Question: How could I test case with progressbar? Question: How could I test case with an infinite Observable? Jan 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant