support-bundle-kit/scripts/test

14 lines
360 B
Bash
Executable File

#!/bin/bash
set -e
cd $(dirname $0)/..
# Disable parallel executions as a number of tests need to fire up api/etcd and parallel execution
# makes these flaky
echo "running unit tests"
go test -p 1 -v ./pkg/simulator/...
go test -v -cover -coverprofile=cover.out ./pkg/manager/...
echo "running integration tests"
go test -v -timeout=20m ./tests/integration