renenable-skywalking-test (#15697)

* renenable-skywalking-test

* increase timeout

* update

* clean

* update
This commit is contained in:
zirain 2024-09-16 15:52:15 +08:00 committed by GitHub
parent 7869b4cfce
commit 5f90c4dfb4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 6 deletions

View File

@ -22,11 +22,8 @@ set -o pipefail
source "tests/util/samples.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
echo "$snip_configure_tracing_1" | istioctl install -y -r skywalkingagent -f -
echo "$snip_configure_tracing_1" | istioctl install -y -f -
snip_configure_tracing_2
_deploy_and_wait_for_addons skywalking
@ -47,7 +44,7 @@ function access_skywalking_with_portforward() {
local skywalking_url='http://localhost:8080/graphql'
local product_svc_id="cHJvZHVjdHBhZ2UuZGVmYXVsdA==.1"
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 _15min_ago=$(date +'%Y-%m-%d %H%M' -d @"$_15min_ago")
@ -88,6 +85,6 @@ pgrep istioctl | xargs kill
_undeploy_addons skywalking
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 delete ns istio-system