-
Notifications
You must be signed in to change notification settings - Fork 587
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
t/l/f/store: make the fake store aware of components #14882
base: master
Are you sure you want to change the base?
t/l/f/store: make the fake store aware of components #14882
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TestCollectSnaps
is failing. Otherwise, LGTM besides some small comments
tests/lib/fakestore/cmd/fakestore/cmd_new_snap_resource_pair.go
Outdated
Show resolved
Hide resolved
containers: map[snap.Revision]string{ | ||
snap.R(5): filepath.Join(s.store.blobDir, "foo_1_all.snap"), | ||
snap.R(6): filepath.Join(s.store.blobDir, "foo_2_all.snap"), | ||
revisions: map[snap.Revision]availableSnap{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test is failing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missed a commit, sorry, added now. 26eb211
tests/lib/fakestore/cmd/fakestore/cmd_new_snap_resource_revision.go
Outdated
Show resolved
Hide resolved
b58b2ec
to
c1f8eba
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #14882 +/- ##
==========================================
+ Coverage 78.20% 78.22% +0.01%
==========================================
Files 1151 1155 +4
Lines 151396 152775 +1379
==========================================
+ Hits 118402 119502 +1100
- Misses 25662 25889 +227
- Partials 7332 7384 +52
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
c1f8eba
to
e93a77b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
…files being named <name>.comp.comp
e93a77b
to
a5a78c7
Compare
This will let us test things with the fake store that use components.