summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile35
1 files changed, 31 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index fead8744..5e5f1cd7 100755
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,7 @@ uninstall: ## Uninstall locally installed RR
rm -f /usr/local/bin/rr
test_coverage:
- docker-compose -f tests/docker-compose.yaml up -d
+ docker-compose -f tests/docker-compose.yaml up -d --remove-orphans
rm -rf coverage
mkdir coverage
go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage/pipe.out -covermode=atomic ./pkg/transport/pipe
@@ -93,9 +93,6 @@ test_1.14: ## Run application tests
go1.14.14 test -v -race -tags=debug ./pkg/pool
go1.14.14 test -v -race -tags=debug ./pkg/worker
go1.14.14 test -v -race -tags=debug ./pkg/worker_watcher
- go1.14.14 test -v -race -tags=debug ./tests/plugins/temporal
- go1.14.14 test -v -race -tags=debug ./plugins/temporal/protocol
- go1.14.14 test -v -race -tags=debug ./plugins/temporal/workflow
go1.14.14 test -v -race -tags=debug ./tests/plugins/http
go1.14.14 test -v -race -tags=debug ./plugins/http/config
go1.14.14 test -v -race -tags=debug ./tests/plugins/informer
@@ -119,4 +116,34 @@ test_1.14: ## Run application tests
go1.14.14 test -v -race -tags=debug ./tests/plugins/kv/memcached
docker-compose -f tests/docker-compose.yaml down
+test_1.16: ## Run application tests
+ docker-compose -f tests/docker-compose.yaml up -d
+ go1.16rc1 test -v -race -tags=debug ./pkg/transport/pipe
+ go1.16rc1 test -v -race -tags=debug ./pkg/transport/socket
+ go1.16rc1 test -v -race -tags=debug ./pkg/pool
+ go1.16rc1 test -v -race -tags=debug ./pkg/worker
+ go1.16rc1 test -v -race -tags=debug ./pkg/worker_watcher
+ go1.16rc1 test -v -race -tags=debug ./tests/plugins/http
+ go1.16rc1 test -v -race -tags=debug ./plugins/http/config
+ go1.16rc1 test -v -race -tags=debug ./tests/plugins/informer
+ go1.16rc1 test -v -race -tags=debug ./tests/plugins/reload
+ go1.16rc1 test -v -race -tags=debug ./tests/plugins/server
+ go1.16rc1 test -v -race -tags=debug ./tests/plugins/checker
+ go1.16rc1 test -v -race -tags=debug ./tests/plugins/config
+ go1.16rc1 test -v -race -tags=debug ./tests/plugins/gzip
+ go1.16rc1 test -v -race -tags=debug ./tests/plugins/headers
+ go1.16rc1 test -v -race -tags=debug ./tests/plugins/logger
+ go1.16rc1 test -v -race -tags=debug ./tests/plugins/metrics
+ go1.16rc1 test -v -race -tags=debug ./tests/plugins/redis
+ go1.16rc1 test -v -race -tags=debug ./tests/plugins/resetter
+ go1.16rc1 test -v -race -tags=debug ./tests/plugins/rpc
+ go1.16rc1 test -v -race -tags=debug ./tests/plugins/static
+ go1.16rc1 test -v -race -tags=debug ./plugins/kv/boltdb
+ go1.16rc1 test -v -race -tags=debug ./plugins/kv/memory
+ go1.16rc1 test -v -race -tags=debug ./plugins/kv/memcached
+ go1.16rc1 test -v -race -tags=debug ./tests/plugins/kv/boltdb
+ go1.16rc1 test -v -race -tags=debug ./tests/plugins/kv/memory
+ go1.16rc1 test -v -race -tags=debug ./tests/plugins/kv/memcached
+ docker-compose -f tests/docker-compose.yaml down
+
test_pipeline: test_1.14 test