Merge pull request #162 from gkGaneshR/unit-test-options

Unit testing for SetNodeNameOrDie in package cmd/options
This commit is contained in:
Lantao Liu
2018-03-09 02:15:49 -08:00
committed by GitHub
2 changed files with 85 additions and 1 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ Dockerfile: Dockerfile.in
sed -e 's|@BASEIMAGE@|$(BASEIMAGE)|g' $< >$@
test: vet fmt
go test -timeout=1m -v -race ./pkg/... $(BUILD_TAGS)
go test -timeout=1m -v -race ./cmd/options ./pkg/... $(BUILD_TAGS)
build-container: ./bin/node-problem-detector Dockerfile
docker build -t $(IMAGE) .