mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 21:17:23 +00:00
Merge pull request #20565 from kubernetes/revert-20000-disable-flaky
Revert "Disable flaky test."
This commit is contained in:
commit
b278c6acd9
@ -36,7 +36,6 @@ function stop-proxy()
|
|||||||
PROXY_PORT_FILE=
|
PROXY_PORT_FILE=
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
# 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()
|
||||||
{
|
{
|
||||||
@ -250,34 +249,32 @@ runTests() {
|
|||||||
#######################
|
#######################
|
||||||
# kubectl local proxy #
|
# kubectl local 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
|
||||||
# # Make sure the UI can be proxied
|
check-curl-proxy-code /ui 301
|
||||||
# start-proxy
|
check-curl-proxy-code /metrics 200
|
||||||
# check-curl-proxy-code /ui 301
|
check-curl-proxy-code /api/ui 404
|
||||||
# check-curl-proxy-code /metrics 200
|
if [[ -n "${version}" ]]; then
|
||||||
# check-curl-proxy-code /api/ui 404
|
check-curl-proxy-code /api/${version}/namespaces 200
|
||||||
# if [[ -n "${version}" ]]; then
|
fi
|
||||||
# check-curl-proxy-code /api/${version}/namespaces 200
|
check-curl-proxy-code /static/ 200
|
||||||
# fi
|
stop-proxy
|
||||||
# check-curl-proxy-code /static/ 200
|
|
||||||
# stop-proxy
|
# Make sure the in-development api is accessible by default
|
||||||
#
|
start-proxy
|
||||||
# # Make sure the in-development api is accessible by default
|
check-curl-proxy-code /apis 200
|
||||||
# start-proxy
|
check-curl-proxy-code /apis/extensions/ 200
|
||||||
# check-curl-proxy-code /apis 200
|
stop-proxy
|
||||||
# check-curl-proxy-code /apis/extensions/ 200
|
|
||||||
# stop-proxy
|
# Custom paths let you see everything.
|
||||||
#
|
start-proxy /custom
|
||||||
# # Custom paths let you see everything.
|
check-curl-proxy-code /custom/ui 301
|
||||||
# start-proxy /custom
|
check-curl-proxy-code /custom/metrics 200
|
||||||
# check-curl-proxy-code /custom/ui 301
|
if [[ -n "${version}" ]]; then
|
||||||
# check-curl-proxy-code /custom/metrics 200
|
check-curl-proxy-code /custom/api/${version}/namespaces 200
|
||||||
# if [[ -n "${version}" ]]; then
|
fi
|
||||||
# check-curl-proxy-code /custom/api/${version}/namespaces 200
|
stop-proxy
|
||||||
# fi
|
|
||||||
# stop-proxy
|
|
||||||
|
|
||||||
###########################
|
###########################
|
||||||
# POD creation / deletion #
|
# POD creation / deletion #
|
||||||
|
Loading…
Reference in New Issue
Block a user