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

Gradle 6.2. #111

Merged
merged 3 commits into from Feb 19, 2020
Merged

Conversation

ychescale9
Copy link
Contributor

Let's see if this still breaks codecov.

@digitalbuddha
Copy link
Contributor

Weird! Test failure that succeeded on ci first time. I guess I wrote a flaky test

@@ -50,7 +50,7 @@ class RxSingleStoreTest {
Completable.complete()
}
)
.withScheduler(Schedulers.io())
.withScheduler(Schedulers.single())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this is a test case, you can also pass Schedulers.trampoline().

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now this is getting more interesting. After changing it to trampoline(), the test fails consistently:

java.lang.AssertionError: Values at position 1 differ; expected: Data(value=3 2, origin=Fetcher) (class: Data) but was: Data(value=3 2, origin=Persister) (class: Data) (latch = 1, values = 2, errors = 0, completions = 0)
Expected :Data(value=3 2, origin=Fetcher) (class: Data) 
Actual   :Data(value=3 2, origin=Persister) (class: Data) (latch = 1, values = 2, errors = 0, completions = 0)

Any idea?

@ychescale9
Copy link
Contributor Author

I changed the scheduler to Schedulers.single(). Let's see if that helps.

Also it looks like Gradle didn't cause the codecov issue after all...

@ychescale9
Copy link
Contributor Author

Ok that didn't help, reverted as this is a separate issue.

@pavlospt
Copy link
Contributor

@ychescale9 I can take a look at it! :D

@codecov-io
Copy link

Codecov Report

Merging #111 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #111   +/-   ##
=========================================
  Coverage     84.09%   84.09%           
  Complexity      242      242           
=========================================
  Files            45       45           
  Lines           943      943           
  Branches        151      151           
=========================================
  Hits            793      793           
  Misses           95       95           
  Partials         55       55

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f6f58c4...e2b1842. Read the comment docs.

@ychescale9
Copy link
Contributor Author

And now it passed.. and codecov is back. Definitely a flaky test...

@ychescale9
Copy link
Contributor Author

@pavlospt Thanks! Maybe create a separate PR as it's unrelated to this?

@pavlospt
Copy link
Contributor

@ychescale9 yeah totally, will create a new one!

@digitalbuddha digitalbuddha merged commit 66a3d3a into MobileNativeFoundation:master Feb 19, 2020
@ychescale9 ychescale9 deleted the yc/gradle-6.2 branch February 20, 2020 01:18
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

Successfully merging this pull request may close these issues.

None yet

4 participants