-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature/faces: use pooler face instead pool struct; up coverage and i…
…nit tests for BucketStat; add Stringer methods for rs info (#21) * add stringer support for logs * refactor make test & add mock for tarantool pool * start write mock with future * replicaset: use src pooler interface * update go-tarantool version * feature/faces: update changelog --------- Co-authored-by: maxim-konovalov <maksim.konovalov@vk.team> Co-authored-by: root <root@114383.msk.web.highserver.ru>
- Loading branch information
1 parent
9e72b8c
commit cb92282
Showing
10 changed files
with
1,152 additions
and
20 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
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 |
---|---|---|
@@ -1,7 +1,12 @@ | ||
TEST_TIMEOUT?=20s | ||
|
||
test: | ||
go test ./... -parallel=10 -timeout=$(TEST_TIMEOUT) -coverprofile=coverage.out | ||
go test ./... -parallel=10 -timeout=$(TEST_TIMEOUT) -coverprofile=coverage.out.tmp | ||
@cat coverage.out.tmp | grep -v "mock" > coverage.out | ||
@rm coverage.out.tmp | ||
|
||
test/integration: | ||
@$(MAKE) -C ./tests/integration test | ||
|
||
generate/mocks: | ||
mockery --name=Pool --case=underscore --output=mocks/pool --outpkg=mockpool |
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
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
Oops, something went wrong.