-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create config file for Mockery instead of using explicit CLI flags in…
… the Makefile (#5623) ## Which problem is this PR solving? - Part of #5569 ## Description of the changes - Created the configuration file (.mockery.yaml) to match what was being done by `make generate-mocks` - Removed a few mock files from es/mocks that were defined within the subpackage `client`. These files are still (auto) generated but within es/client/mocks only ## How was this change tested? - manually by running `mockery` - by running `make test` ## Checklist - [x] I have read https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md - [x] I have signed all commits - [ ] I have added unit tests for the new functionality - [ ] I have run lint and test steps successfully - for `jaeger`: `make lint test` - for `jaeger-ui`: `yarn lint` and `yarn test` --------- Signed-off-by: jessica lourenco <jess.mailed@gmail.com> Signed-off-by: jesslourenco <70455379+jesslourenco@users.noreply.github.com> Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
- Loading branch information
1 parent
d1a5107
commit 1830148
Showing
11 changed files
with
48 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
with-expecter: false | ||
disable-version-string: true | ||
outpkg: "mocks" | ||
dir: "{{.InterfaceDir}}/mocks/" | ||
mockname: "{{.InterfaceName}}" | ||
filename: "{{.InterfaceName}}.go" | ||
packages: | ||
github.com/jaegertracing/jaeger/pkg/es: | ||
config: | ||
all: true | ||
github.com/jaegertracing/jaeger/storage/spanstore: | ||
config: | ||
all: true | ||
github.com/jaegertracing/jaeger/proto-gen/storage_v1: | ||
config: | ||
all: true | ||
github.com/jaegertracing/jaeger/pkg/es/client: | ||
config: | ||
all: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.