mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-10-31 02:08:13 +00:00 
			
		
		
		
	Add an option to focus or skip tests in the node e2e makefile rule.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
This commit is contained in:
		| @@ -18,6 +18,9 @@ KUBE_ROOT=$(dirname "${BASH_SOURCE}")/.. | ||||
| source "${KUBE_ROOT}/hack/lib/init.sh" | ||||
| kube::golang::setup_env | ||||
|  | ||||
| focus=${FOCUS} | ||||
| skip=${SKIP:-""} | ||||
|  | ||||
| ginkgo=$(kube::util::find-binary "ginkgo") | ||||
| if [[ -z "${ginkgo}" ]]; then | ||||
|   echo "You do not appear to have ginkgo built. Try 'hack/build-go.sh github.com/onsi/ginkgo/ginkgo'" | ||||
| @@ -26,6 +29,6 @@ fi | ||||
|  | ||||
| # Provided for backwards compatibility | ||||
| sudo -v | ||||
| "${ginkgo}" "${KUBE_ROOT}/test/e2e_node/" -- --alsologtostderr --v 2 --node-name $(hostname) --build-services=true --start-services=true --stop-services=true | ||||
| "${ginkgo}" --focus=$focus --skip=$skip "${KUBE_ROOT}/test/e2e_node/" -- --alsologtostderr --v 2 --node-name $(hostname) --build-services=true --start-services=true --stop-services=true | ||||
|  | ||||
| exit $? | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Vishnu kannan
					Vishnu kannan