Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

istioctl x wait removed from 1.23; test update needed #15448

Open
craigbox opened this issue Jul 19, 2024 · 1 comment
Open

istioctl x wait removed from 1.23; test update needed #15448

craigbox opened this issue Jul 19, 2024 · 1 comment

Comments

@craigbox
Copy link
Contributor

_wait_for_istio() is used throughout the doc tests, but relies on an experimental feature which has been removed in 1.23.

/tests/util/helpers.sh:

# Wait for Istio config to propagate
# usage: _wait_for_istio <kind> <namespace> <name>
_wait_for_istio() {
    local kind="$1"
    local namespace="$2"
    local name="$3"
    local start=$(date +%s)
    if ! istioctl experimental wait --for=distribution --timeout=10s "$kind" "$name.$namespace"; then
        echo "Failed distribution of $kind $name in namespace $namespace"
        istioctl ps
        echo "TEST: wait for failed, but continuing."
    fi
    echo "Duration: $(($(date +%s)-start)) seconds"
}
@craigbox craigbox mentioned this issue Jul 19, 2024
11 tasks
@craigbox
Copy link
Contributor Author

craigbox commented Jul 22, 2024

We can also update all the doc_test.go files to remove

values:
  pilot:
    env:
      PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING: true

and remove https://github.com/istio/istio.io/blob/master/scripts/snip.py#L107 too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant