From aa6a2291e2c0bffd3157700583533aeefed31831 Mon Sep 17 00:00:00 2001 From: Ed Beaty Date: Fri, 10 May 2024 08:48:28 -0700 Subject: [PATCH] test UT --- scripts/commit-check-new | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/commit-check-new b/scripts/commit-check-new index 7a5e146c..f3ab989a 100755 --- a/scripts/commit-check-new +++ b/scripts/commit-check-new @@ -49,8 +49,12 @@ docker build tests/ -t helm-tests # Control Plane unit tests docker run -v "$PWD/:/charts" helm-tests bats tests/ut/xrd-control-plane -# vRouter unit tests -docker run -v "$PWD/:/charts" helm-tests bats tests/ut/xrd-vrouter +echo +echo "Running vRouter unit tests..." +if ! docker run -v "$PWD/:/charts" helm-tests bats tests/ut/xrd-vrouter; then + echo "vRouter unit tests failed, check output and fix issues." >&2 + FAILURES=$((FAILURES+1)) +fi echo