Skip to content

Commit

Permalink
workaround: remove flag breaking unit tests
Browse files Browse the repository at this point in the history
The -logtostderr flag is somehow preventing the cni unit tests
from running.

Can't figure this one out; this is just to show I'm not insane.

Signed-off-by: Miguel Duarte Barroso <[email protected]>
  • Loading branch information
maiqueb committed Feb 24, 2020
1 parent 15d608f commit 5f9d7a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ test/unit:
@echo "You are not root, run this target as root please"
exit 1
fi
go test ./cmd/... ./pkg/... -v -logtostderr --ginkgo.v
go test ./cmd/... ./pkg/... -v --ginkgo.v

manifests:
IMAGE_REGISTRY=$(IMAGE_REGISTRY) IMAGE_NAME=$(IMAGE_NAME) IMAGE_TAG=$(IMAGE_TAG) CNI_MOUNT_PATH=$(CNI_MOUNT_PATH) ./hack/generate-manifests.sh
Expand Down

0 comments on commit 5f9d7a7

Please sign in to comment.