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

Implement MsgCount for Tigris #928

Merged
merged 22 commits into from
Jul 26, 2022
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,19 +129,25 @@ tasks:
desc: "Run integration tests for PostgreSQL handler"
dir: integration
cmds:
- go test -count=1 {{if ne OS "windows"}}-race{{end}} -shuffle=on -coverprofile=integration-pg.txt -coverpkg=../... -handler=pg
- >
AlekSi marked this conversation as resolved.
Show resolved Hide resolved
go test -count=1 {{if ne OS "windows"}}-race{{end}} -shuffle=on -coverpkg=../...
-coverprofile=integration-pg.txt . -handler=pg

test-integration-tigris:
desc: "Run integration tests for Tigris handler"
dir: integration/tigris
dir: integration
cmds:
- go test -count=1 {{if ne OS "windows"}}-race{{end}} -tags=ferretdb_tigris -shuffle=on -coverprofile=../integration-tigris.txt -coverpkg=../... -handler=tigris
- >
go test -count=1 {{if ne OS "windows"}}-race{{end}} -shuffle=on -coverpkg=../...
-coverprofile=integration-tigris.txt -tags=ferretdb_tigris ./tigris/... -handler=tigris

test-integration-mongodb:
desc: "Run integration tests for MongoDB"
dir: integration
cmds:
- go test -count=1 {{if ne OS "windows"}}-race{{end}} -shuffle=on -coverprofile=integration-mongodb.txt -coverpkg=../... -target-port=37017 -compat-port=0
- >
go test -count=1 {{if ne OS "windows"}}-race{{end}} -shuffle=on -coverpkg=../...
-coverprofile=integration-mongodb.txt . -target-port=37017 -compat-port=0

bench-short:
desc: "Benchmark for about 20 seconds (with default BENCHTIME)"
Expand Down