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

2.x: TestObserver shouldn't clear the upstream disposable on terminated #4873

Merged
merged 1 commit into from
Nov 22, 2016

Conversation

akarnokd
Copy link
Member

TestObserver replaced the upstream's Disposable with the disposed-sentinel when it got a terminal event (unlike TestSubscriber) and there seems to be a need for triggering dispose in some upstream even after that. This PR changes this behavior and also updates unit tests that expect isDisposed() true without actually calling dispose().

Related #4872

@akarnokd akarnokd added this to the 2.0 backlog milestone Nov 22, 2016
@codecov-io
Copy link

Current coverage is 95.75% (diff: 100%)

Merging #4873 into 2.x will increase coverage by 0.03%

@@                2.x      #4873   diff @@
==========================================
  Files           581        581          
  Lines         37214      37212     -2   
  Methods           0          0          
  Messages          0          0          
  Branches       5601       5601          
==========================================
+ Hits          35624      35634    +10   
+ Misses          656        650     -6   
+ Partials        934        928     -6   

Powered by Codecov. Last update 37bde8c...d7e8e4f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants