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

E2E: exclude terminating pods when wait_util_all_pod_ready #366

Merged
merged 2 commits into from
Aug 29, 2024

Conversation

KfreeZ
Copy link
Collaborator

@KfreeZ KfreeZ commented Aug 29, 2024

Description

When wait_util_all_pod_ready is executed and there are pods being deleted, the wait_util_all_pod_ready count all the pods including Terminating pods and wait them to be ready, which could never happen.

Solution: exclude the terminating pods when collecting the pods names.

Issues

n/a.

Type of change

List the type of change like below. Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds new functionality)
  • Breaking change (fix or feature that would break existing design and interface)

Dependencies

n/a.

Tests

covered by CI/CD

Copy link
Collaborator

@zhlsunshine zhlsunshine left a comment

Choose a reason for hiding this comment

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

LGTM

@KfreeZ KfreeZ merged commit 39fb55e into opea-project:main Aug 29, 2024
8 checks passed
@KfreeZ KfreeZ deleted the improveWaitPodReady branch August 29, 2024 07:40
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