Skip to content
Snippets Groups Projects
Commit 687cbbec authored by Rick Carback's avatar Rick Carback
Browse files

Fix some server -> udb names

parent e3561981
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,7 @@ cache: ...@@ -8,7 +8,7 @@ cache:
variables: variables:
REPO_DIR: gitlab.com/privategrity REPO_DIR: gitlab.com/privategrity
REPO_NAME: server REPO_NAME: user-discovery-bot
DOCKER_IMAGE: carback1/golang-glide:1.9-4a49ace8cac8 DOCKER_IMAGE: carback1/golang-glide:1.9-4a49ace8cac8
MIN_CODE_COVERAGE: "80.0" MIN_CODE_COVERAGE: "80.0"
...@@ -82,11 +82,11 @@ test: ...@@ -82,11 +82,11 @@ test:
# Benchmarking # Benchmarking
- go test -bench=BenchmarkPrecomp -cpuprofile=testdata/precomp.cpu -memprofile=testdata/precomp.mem -short main_benchmarks_test.go - go test -bench=BenchmarkPrecomp -cpuprofile=testdata/precomp.cpu -memprofile=testdata/precomp.mem -short main_benchmarks_test.go
- go tool pprof -png server.test testdata/precomp.cpu > testdata/precomp-cpu.png - go tool pprof -png udb.test testdata/precomp.cpu > testdata/precomp-cpu.png
- go tool pprof -png server.test testdata/precomp.mem > testdata/precomp-mem.png - go tool pprof -png udb.test testdata/precomp.mem > testdata/precomp-mem.png
- go test -bench=BenchmarkRealtime -cpuprofile=testdata/realtime.cpu -memprofile=testdata/realtime.mem -short main_benchmarks_test.go - go test -bench=BenchmarkRealtime -cpuprofile=testdata/realtime.cpu -memprofile=testdata/realtime.mem -short main_benchmarks_test.go
- go tool pprof -png server.test testdata/realtime.cpu > testdata/realtime-cpu.png - go tool pprof -png udb.test testdata/realtime.cpu > testdata/realtime-cpu.png
- go tool pprof -png server.test testdata/realtime.mem > testdata/realtime-mem.png - go tool pprof -png udb.test testdata/realtime.mem > testdata/realtime-mem.png
# Test Coverage Check # Test Coverage Check
- go tool cover -func=testdata/coverage-real.out | grep "total:" | awk '{print $3}' | sed 's/\%//g' > testdata/coverage-percentage.txt - go tool cover -func=testdata/coverage-real.out | grep "total:" | awk '{print $3}' | sed 's/\%//g' > testdata/coverage-percentage.txt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment