mirror of https://github.com/k3s-io/k3s
Disable flaky test.
parent
a99e151b90
commit
7944fa01ec
|
@ -33,6 +33,7 @@ function stop-proxy()
|
||||||
PROXY_PORT=
|
PROXY_PORT=
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
# Starts "kubect proxy" to test the client proxy. $1: api_prefix
|
# Starts "kubect proxy" to test the client proxy. $1: api_prefix
|
||||||
function start-proxy()
|
function start-proxy()
|
||||||
{
|
{
|
||||||
|
@ -235,32 +236,34 @@ runTests() {
|
||||||
#######################
|
#######################
|
||||||
# kubectl local proxy #
|
# kubectl local proxy #
|
||||||
#######################
|
#######################
|
||||||
|
# This next block disabled until non-racy solution to
|
||||||
# Make sure the UI can be proxied
|
# port allocation can be found (#19999).
|
||||||
start-proxy
|
#
|
||||||
check-curl-proxy-code /ui 301
|
# # Make sure the UI can be proxied
|
||||||
check-curl-proxy-code /metrics 200
|
# start-proxy
|
||||||
check-curl-proxy-code /api/ui 404
|
# check-curl-proxy-code /ui 301
|
||||||
if [[ -n "${version}" ]]; then
|
# check-curl-proxy-code /metrics 200
|
||||||
check-curl-proxy-code /api/${version}/namespaces 200
|
# check-curl-proxy-code /api/ui 404
|
||||||
fi
|
# if [[ -n "${version}" ]]; then
|
||||||
check-curl-proxy-code /static/ 200
|
# check-curl-proxy-code /api/${version}/namespaces 200
|
||||||
stop-proxy
|
# fi
|
||||||
|
# check-curl-proxy-code /static/ 200
|
||||||
# Make sure the in-development api is accessible by default
|
# stop-proxy
|
||||||
start-proxy
|
#
|
||||||
check-curl-proxy-code /apis 200
|
# # Make sure the in-development api is accessible by default
|
||||||
check-curl-proxy-code /apis/extensions/ 200
|
# start-proxy
|
||||||
stop-proxy
|
# check-curl-proxy-code /apis 200
|
||||||
|
# check-curl-proxy-code /apis/extensions/ 200
|
||||||
# Custom paths let you see everything.
|
# stop-proxy
|
||||||
start-proxy /custom
|
#
|
||||||
check-curl-proxy-code /custom/ui 301
|
# # Custom paths let you see everything.
|
||||||
check-curl-proxy-code /custom/metrics 200
|
# start-proxy /custom
|
||||||
if [[ -n "${version}" ]]; then
|
# check-curl-proxy-code /custom/ui 301
|
||||||
check-curl-proxy-code /custom/api/${version}/namespaces 200
|
# check-curl-proxy-code /custom/metrics 200
|
||||||
fi
|
# if [[ -n "${version}" ]]; then
|
||||||
stop-proxy
|
# check-curl-proxy-code /custom/api/${version}/namespaces 200
|
||||||
|
# fi
|
||||||
|
# stop-proxy
|
||||||
|
|
||||||
###########################
|
###########################
|
||||||
# POD creation / deletion #
|
# POD creation / deletion #
|
||||||
|
|
Loading…
Reference in New Issue