Replace minikube for e2e tests

This commit is contained in:
Manuel de Brito Fontes 2018-07-27 20:39:01 -04:00 committed by Manuel Alejandro de Brito Fontes
parent c0a30eac7f
commit 7032fb7d68
No known key found for this signature in database
GPG key ID: 786136016A8BA02A
9 changed files with 1837 additions and 118 deletions

View file

@ -26,7 +26,9 @@ GOHOSTOS ?= $(shell go env GOHOSTOS)
# Allow limiting the scope of the e2e tests. By default run everything
FOCUS ?= .*
# number of parallel test
E2E_NODES ?= 3
E2E_NODES ?= 4
# slow test only if takes > 40s
SLOW_E2E_THRESHOLD ?= 40
NODE_IP ?= $(shell minikube ip)
@ -179,11 +181,12 @@ lua-test:
.PHONY: e2e-test
e2e-test:
@$(DEF_VARS) \
FOCUS=$(FOCUS) \
E2E_NODES=$(E2E_NODES) \
DOCKER_OPTS="-i --net=host" \
NODE_IP=$(NODE_IP) \
@$(DEF_VARS) \
FOCUS=$(FOCUS) \
E2E_NODES=$(E2E_NODES) \
DOCKER_OPTS="-i --net=host" \
NODE_IP=$(NODE_IP) \
SLOW_E2E_THRESHOLD=$(SLOW_E2E_THRESHOLD) \
build/go-in-docker.sh build/e2e-tests.sh
.PHONY: cover