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

Minor testing improvements #4483

Merged
merged 3 commits into from
Dec 3, 2024
Merged

Minor testing improvements #4483

merged 3 commits into from
Dec 3, 2024

Conversation

theunrepentantgeek
Copy link
Member

@theunrepentantgeek theunrepentantgeek commented Dec 3, 2024

What this PR does

Split the format-code task into separate targets, avoiding the problem where golangci-lint sometimes fails when applying fixes within a submodule.

Improved logging in create-kind-wi-storage.sh for better traceability and debugging.

Improved logging and increased timeouts wait-for-operator-ready.sh to provide more context.

How does this PR make you feel?

gif

Copy link
Collaborator

@super-harsh super-harsh left a comment

Choose a reason for hiding this comment

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

LGTM! Left a minor comment on the wait time

@@ -60,7 +64,7 @@ kubectl wait --for=condition=ready --timeout=3m pod -n "$OPERATOR_NAMESPACE" -l
echo "Waiting for CRD cabundle..."
export -f all_crds_have_cabundle
export -f wait_for_crds_cabundle
timeout 2m bash -c wait_for_crds_cabundle
timeout 8m bash -c wait_for_crds_cabundle
Copy link
Collaborator

Choose a reason for hiding this comment

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

Isn't 8 mins from 2 too high?
Just thinking about if something else goes haywire then it waits for 4x longer than it used to.

Copy link
Member Author

Choose a reason for hiding this comment

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

I incremented from 2m by 1m steps; things finally worked end to end at 7m, so I added one more for a little headroom.

Totally agree that this should be no higher than necessary.

@theunrepentantgeek theunrepentantgeek added this pull request to the merge queue Dec 3, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Dec 3, 2024
@theunrepentantgeek theunrepentantgeek added this pull request to the merge queue Dec 3, 2024
Merged via the queue into main with commit 32c6c25 Dec 3, 2024
7 checks passed
@theunrepentantgeek theunrepentantgeek deleted the improve/testing branch December 3, 2024 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Recently Completed
Development

Successfully merging this pull request may close these issues.

2 participants