10000 test/e2e: pick correct controller pod for testscript by giautm · Pull Request #200 · ariga/atlas-operator · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

test/e2e: pick correct controller pod for testscript #200

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

Merged
merged 2 commits into from
Oct 9, 2024
Merged

Conversation

giautm
Copy link
Member
@giautm giautm commented Oct 9, 2024

No description provided.

@giautm giautm changed the title devdb: add conntmpl-go to build DEV_URL using kubectl command tests: pick correct controller pod for testscript Oct 9, 2024
@giautm giautm changed the title tests: pick correct controller pod for testscript test/e2e: pick correct controller pod for testscript Oct 9, 2024
require.NoError(t, err)
pods := strings.Split(output, "\n")
if len(pods) == 1 {
controllerPod = pods[0]
Copy link
Member

Choose a reason for hiding this comment

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

Can this work with kubectl wait?

Copy link
Member Author
@giautm giautm Oct 9, 2024

Choose a reason for hiding this comment

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

No. :( Both old and new pod still in the running state, it cause conflicts then pick the pod in termination process

@giautm giautm merged commit 46a0ae1 into master Oct 9, 2024
6 checks passed
@giautm giautm deleted the g/test branch October 9, 2024 16:53
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
0