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

Cache values when accessing test dependencies from live context #78

Merged
merged 2 commits into from
Jan 22, 2024

Conversation

oronbz
Copy link
Contributor

@oronbz oronbz commented Apr 10, 2023

#77

#endif
XCTAssertEqual(reuseClient.count(), 0)
}
#if DEBUG
Copy link
Contributor Author

@oronbz oronbz Apr 10, 2023

Choose a reason for hiding this comment

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

The modifications here are to adjust to the fact the failure only happens once now, since the next time, it'll pull it from cache

@oronbz
Copy link
Contributor Author

oronbz commented Apr 17, 2023

@stephencelis @mbrandonw , hope it's ok mentioning you here. any chance you can look into it? As our project switch more and more dependencies to swift-dependencies this has become a bigger of an issue for us.

Copy link
Member

@stephencelis stephencelis left a comment

Choose a reason for hiding this comment

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

@oronbz Sorry for the delay. We've dug a bit more deeply into the problem and agree that we should be caching in this case. Thanks again for the PR!

@stephencelis stephencelis merged commit 21aaff1 into pointfreeco:main Jan 22, 2024
@oronbz
Copy link
Contributor Author

oronbz commented Jan 22, 2024

Lovely. Thanks @stephencelis

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

2 participants