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

chain set to run set on all cache stores #146

Merged
merged 2 commits into from Jun 10, 2022
Merged

Conversation

ashtonian
Copy link
Contributor

messed up #140 here is a rebased version with corrections asked for.

@ashtonian ashtonian changed the title make chain set attempt to set in all stores regardless of erroring chain set to run set on all cache stores May 31, 2022
@ashtonian
Copy link
Contributor Author

I'm getting the following error trying to run locally:

cannot find package "." in:
 "~/gocache/vendor/github.com/eko/gocache/v2/cache"

@eko
Copy link
Owner

eko commented Jun 2, 2022

I don't have the error you paste when I checkout your branch, but 1 test is still failing:

=== RUN   TestChainSetWhenErrorOnSetting
Error:     chain.go:78: Unexpected call to *mocks.MockSetterCacheInterface[interface {}].Set([context.Background my-key 0xc0000976a0]) at /home/runner/work/gocache/gocache/cache/chain.go:78 because: there are no expected calls of the method "Set" for that receiver
--- FAIL: TestChainSetWhenErrorOnSetting (0.00s)

@eko
Copy link
Owner

eko commented Jun 10, 2022

Thank you for adding this @ashtonian

@eko eko merged commit 8340093 into eko:master Jun 10, 2022
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