Flix flakey tcp-traffic-shifting/gateway test (#12544)

* WIP - test

* Fix verbosity option

* Echo config

* REplace nc with echo

* Put nc back in but add a sleep

* Final update (for now) adding delay so `nc` doesn't reset the kubeconfig

* Remove extra cat'ing of kubeconfig

* Update content/en/docs/tasks/traffic-management/tcp-traffic-shifting/test.sh

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

---------

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
This commit is contained in:
Eric Van Norman 2023-02-07 12:16:34 -06:00 committed by GitHub
parent cc76a09425
commit 297056e6f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -42,6 +42,12 @@ if [ "$GATEWAY_API" == "true" ]; then
snip_apply_weightbased_tcp_routing_2
_wait_for_gateway istio-io-tcp-traffic-shifting tcp-echo-gateway
snip_apply_weightbased_tcp_routing_3
# Make sure the nc command will work and not fail the cluster
# More info: https://github.com/istio/istio.io/pull/12544
# TODO proper wait for things being ready
# it seems we had 8 or so exits during the run of 20 so need 8 plus seconds
sleep 20s
else
snip_apply_weightbased_tcp_routing_1