Skip to content

Conversation

@AlinsRan
Copy link
Contributor

@AlinsRan AlinsRan commented Jul 10, 2025

Type of change:

  • Bugfix
  • New feature provided
  • Improve performance
  • Backport patches
  • Documentation
  • Refactor
  • Chore
  • CI/CD or Tests

What this PR does / why we need it:

Reduce the time consumption of time.sleep and ensure the execution of use cases through retries.

Prioritize running finalize to avoid being suspended when deleting gateway classes.

Pre-submission checklist:

  • Did you explain what problem does this PR solve? Or what new features have been added?
  • Have you added corresponding test cases?
  • Have you modified the corresponding document?
  • Is this PR backward compatible? If it is not backward compatible, please discuss on the mailing list first


By("check ApisixRoute status")
assertion(func() string {
s.RetryAssertion(func() string {
Copy link
Contributor

Choose a reason for hiding this comment

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

It is waiting for Condition Accepted's status to be True in applier.MustApplyAPIv2. It is unnecessary to s.RetryAssertion

@AlinsRan AlinsRan requested review from nic-6443 and ronething July 15, 2025 09:02
Copy link
Contributor

@ronething ronething left a comment

Choose a reason for hiding this comment

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

lgtm

@AlinsRan AlinsRan merged commit f536c26 into apache:master Jul 17, 2025
23 checks passed
@AlinsRan AlinsRan deleted the chore-refactor-e2e-test branch July 17, 2025 01:00
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.

4 participants