Skip to content

Commit

Permalink
[chore] Regenerate mocks after package rename (#6296)
Browse files Browse the repository at this point in the history
## Description of the changes
- This is an extension of
#6289 to regenerate the
mocks and remove the existing mock for `storage.MetricStoreFactory`

## How was this change tested?
- CI

## Checklist
- [x] I have read
https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md
- [x] I have signed all commits
- [x] I have added unit tests for the new functionality
- [x] I have run lint and test steps successfully
  - for `jaeger`: `make lint test`
  - for `jaeger-ui`: `yarn lint` and `yarn test`

---------

Signed-off-by: Mahad Zaryab <[email protected]>
  • Loading branch information
mahadzaryab1 authored Dec 2, 2024
1 parent e5bb9fb commit 57a19af
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (
type mockStorageExt struct {
name string
factory *factoryMocks.Factory
metricsFactory *factoryMocks.MetricsFactory
metricsFactory *factoryMocks.MetricStoreFactory
}

var _ jaegerstorage.Extension = (*mockStorageExt)(nil)
Expand Down
2 changes: 1 addition & 1 deletion plugin/metricstore/factory_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func TestCreateMetricsReader(t *testing.T) {
}

type configurable struct {
mocks.MetricsFactory
mocks.MetricStoreFactory
flagSet *flag.FlagSet
viper *viper.Viper
logger *zap.Logger
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 57a19af

Please sign in to comment.