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

Improve wait_for_ready timeout errors #443

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

pehala
Copy link
Contributor

@pehala pehala commented Jun 17, 2024

  • Timeouts now return human readable message instead of an error for timeout
    • Any other errors will be propagated as usual
  • Use wait_until instead of until_all()
  • Lower default timeout from 90sec to 60sec
    • Everything passed on my machine, we can see if it works (or I can delete it based on review)

testsuite/gateway/gateway_api/gateway.py Show resolved Hide resolved
testsuite/policy/__init__.py Show resolved Hide resolved
testsuite/policy/authorization/auth_config.py Show resolved Hide resolved
testsuite/policy/tls_policy.py Show resolved Hide resolved
trepel
trepel previously approved these changes Jun 19, 2024
Copy link
Contributor

@trepel trepel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that this is good to go. I ran some tests and they passed.

averevki
averevki previously approved these changes Jun 19, 2024
- Timeout wont throw exception, but just returns false
@pehala pehala dismissed stale reviews from averevki and trepel via b33ef5a June 19, 2024 11:34
@pehala pehala requested review from averevki and trepel June 19, 2024 11:35
@pehala
Copy link
Contributor Author

pehala commented Jun 19, 2024

Rebased

@pehala pehala merged commit 12023ab into Kuadrant:main Jun 19, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

3 participants