Fixes issue #439: Adds integration testing using KIND (#520)

* Fixes issue #439: Adds integration testing using KIND

* try integration tests

* started using ticker and timeouts

* trying built container image

* adds load image into KIND

* adds comparison

* fixes as per PR review
This commit is contained in:
Roberto Rojas
2019-11-16 09:39:47 -05:00
committed by GitHub
parent 6ffd382711
commit 47c5661034
11 changed files with 1502 additions and 20 deletions

View File

@@ -35,6 +35,9 @@ build-docker:
tests:
GO111MODULE=on go test -v -short -race -timeout 30s -coverprofile=coverage.txt -covermode=atomic ./...
integration-tests: build-docker
GO111MODULE=on go test ./integration/... -v -tags integration -timeout 600s -args -kubebenchImg=$(IMAGE_NAME)
# creates a kind cluster to be used for development.
HAS_KIND := $(shell command -v kind;)
kind-test-cluster: