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

[DO NOT MERGE][Experiment] If Pod.Status.Phase is set to running, the Pod's PodReady condition becomes true automatically in envtest. #1735

Closed
wants to merge 4 commits into from

Conversation

kevin85421
Copy link
Member

@kevin85421 kevin85421 commented Dec 11, 2023

Why are these changes needed?

This PR is an experiment for Pod conditions in envtest based on #1733.

If Pod.Status.Phase is set to running, the Pod's PodReady condition becomes true automatically in envtest.

Related issue number

Checks

  • I've made sure the tests are passing.
  • Testing Strategy
    • Unit tests
    • Manual tests
    • This PR is not tested :(

@kevin85421 kevin85421 changed the title [Experiment] If Pod.Status.Phase is set to running, the Pod's PodReady condition becomes true automatically in envtest. [DO NOT MERGE][Experiment] If Pod.Status.Phase is set to running, the Pod's PodReady condition becomes true automatically in envtest. Dec 11, 2023
for _, workerPod := range workerPods.Items {
fmt.Printf("workerPod %v, conditions: %v\n", workerPod.Name, workerPod.Status.Conditions)
}
Expect(1).Should(Equal(2))
Copy link
Member Author

Choose a reason for hiding this comment

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

Make the test fail intentionally.

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.

None yet

1 participant