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

Fix tests #200

Merged
merged 4 commits into from
Apr 5, 2017
Merged

Fix tests #200

merged 4 commits into from
Apr 5, 2017

Conversation

baumatron
Copy link
Contributor

@baumatron baumatron commented Apr 4, 2017

Properly reference dependency injected version of KIODBStore and reference self within KIONetwork.

Fix another false positive DB failure which would cause #183 to be observed more frequently, since trying to get a non-existent query from the db would be handled as a db error and close the db.

Fix a few async tests that weren't waiting for async code to complete.

Likely to fix #192.

Don’t use the shared NSURLSession since it might get wrapped by more than one OCMockObject if the tests misbehave.

Fix a few asynchronous tests that weren’t waiting for async code to complete.
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.6%) to 64.802% when pulling d5d24d4 on fix_tests into 691bf7b on master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.4%) to 64.921% when pulling a75fe1e on fix_tests into 691bf7b on master.

Copy link
Collaborator

@masojus masojus left a comment

Choose a reason for hiding this comment

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

I took a quick look and this all seems to be in order. Thank you!

@baumatron baumatron merged commit 1a725cd into master Apr 5, 2017
@baumatron baumatron deleted the fix_tests branch April 25, 2017 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Intermittent UT Failures
3 participants