mirror of https://github.com/istio/istio.io.git
renenable-skywalking-test (#15697)
* renenable-skywalking-test * increase timeout * update * clean * update
This commit is contained in:
parent
7869b4cfce
commit
5f90c4dfb4
|
@ -22,11 +22,8 @@ set -o pipefail
|
||||||
source "tests/util/samples.sh"
|
source "tests/util/samples.sh"
|
||||||
source "tests/util/addons.sh"
|
source "tests/util/addons.sh"
|
||||||
|
|
||||||
# FIXME To re-enable this test, rename this file to test.sh once
|
|
||||||
# https://github.com/istio/istio.io/issues/15680 is fixed
|
|
||||||
|
|
||||||
# @setup profile=none
|
# @setup profile=none
|
||||||
echo "$snip_configure_tracing_1" | istioctl install -y -r skywalkingagent -f -
|
echo "$snip_configure_tracing_1" | istioctl install -y -f -
|
||||||
snip_configure_tracing_2
|
snip_configure_tracing_2
|
||||||
|
|
||||||
_deploy_and_wait_for_addons skywalking
|
_deploy_and_wait_for_addons skywalking
|
||||||
|
@ -47,7 +44,7 @@ function access_skywalking_with_portforward() {
|
||||||
local skywalking_url='http://localhost:8080/graphql'
|
local skywalking_url='http://localhost:8080/graphql'
|
||||||
local product_svc_id="cHJvZHVjdHBhZ2UuZGVmYXVsdA==.1"
|
local product_svc_id="cHJvZHVjdHBhZ2UuZGVmYXVsdA==.1"
|
||||||
local now=$(date +%s)
|
local now=$(date +%s)
|
||||||
local _15min_ago=$((now - 15 * 60))
|
local _15min_ago=$((now - 60 * 60))
|
||||||
local now=$(date +'%Y-%m-%d %H%M' -d @"$now")
|
local now=$(date +'%Y-%m-%d %H%M' -d @"$now")
|
||||||
local _15min_ago=$(date +'%Y-%m-%d %H%M' -d @"$_15min_ago")
|
local _15min_ago=$(date +'%Y-%m-%d %H%M' -d @"$_15min_ago")
|
||||||
|
|
||||||
|
@ -88,6 +85,6 @@ pgrep istioctl | xargs kill
|
||||||
_undeploy_addons skywalking
|
_undeploy_addons skywalking
|
||||||
|
|
||||||
kubectl delete telemetries.telemetry.istio.io -n istio-system mesh-default
|
kubectl delete telemetries.telemetry.istio.io -n istio-system mesh-default
|
||||||
istioctl uninstall -r skywalkingagent --skip-confirmation
|
istioctl uninstall --purge --skip-confirmation
|
||||||
kubectl label namespace default istio-injection-
|
kubectl label namespace default istio-injection-
|
||||||
kubectl delete ns istio-system
|
kubectl delete ns istio-system
|
Loading…
Reference in New Issue