Commit 8bab0022 authored by k8s-merge-robot's avatar k8s-merge-robot

Merge pull request #20000 from erictune/disable-flaky

Auto commit by PR queue bot
parents 80507157 7944fa01
......@@ -36,6 +36,7 @@ function stop-proxy()
PROXY_PORT_FILE=
}
# Starts "kubect proxy" to test the client proxy. $1: api_prefix
function start-proxy()
{
......@@ -248,32 +249,34 @@ runTests() {
#######################
# kubectl local proxy #
#######################
# Make sure the UI can be proxied
start-proxy
check-curl-proxy-code /ui 301
check-curl-proxy-code /metrics 200
check-curl-proxy-code /api/ui 404
if [[ -n "${version}" ]]; then
check-curl-proxy-code /api/${version}/namespaces 200
fi
check-curl-proxy-code /static/ 200
stop-proxy
# Make sure the in-development api is accessible by default
start-proxy
check-curl-proxy-code /apis 200
check-curl-proxy-code /apis/extensions/ 200
stop-proxy
# Custom paths let you see everything.
start-proxy /custom
check-curl-proxy-code /custom/ui 301
check-curl-proxy-code /custom/metrics 200
if [[ -n "${version}" ]]; then
check-curl-proxy-code /custom/api/${version}/namespaces 200
fi
stop-proxy
# This next block disabled until non-racy solution to
# port allocation can be found (#19999).
#
# # Make sure the UI can be proxied
# start-proxy
# check-curl-proxy-code /ui 301
# check-curl-proxy-code /metrics 200
# check-curl-proxy-code /api/ui 404
# if [[ -n "${version}" ]]; then
# check-curl-proxy-code /api/${version}/namespaces 200
# fi
# check-curl-proxy-code /static/ 200
# stop-proxy
#
# # Make sure the in-development api is accessible by default
# start-proxy
# check-curl-proxy-code /apis 200
# check-curl-proxy-code /apis/extensions/ 200
# stop-proxy
#
# # Custom paths let you see everything.
# start-proxy /custom
# check-curl-proxy-code /custom/ui 301
# check-curl-proxy-code /custom/metrics 200
# if [[ -n "${version}" ]]; then
# check-curl-proxy-code /custom/api/${version}/namespaces 200
# fi
# stop-proxy
###########################
# POD creation / deletion #
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment