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

Fix waiting for waitGroup in ScyllaCluster Orphaned PV e2e test #1391

Merged
merged 1 commit into from
Sep 11, 2023

Conversation

rzetelskik
Copy link
Member

@rzetelskik rzetelskik commented Sep 11, 2023

Description of your changes:
Currently, when an error occurs in ScyllaCluster Orphaned PV controller [It] should replace a node with orphaned PV E2E test, the test hangs indefinitely, waiting for waitGroup, because of the order of deferred functions. This PR fixes it by reordering the deferred functions.

Which issue is resolved by this Pull Request:
Resolves #1390

@rzetelskik rzetelskik added kind/bug Categorizes issue or PR as related to a bug. priority/critical-urgent Highest priority. Must be actively worked on as someone's top priority right now. labels Sep 11, 2023
@rzetelskik rzetelskik added this to the v1.11 milestone Sep 11, 2023
@scylla-operator-bot scylla-operator-bot bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Sep 11, 2023
@rzetelskik rzetelskik force-pushed the orphaned-pv-fix branch 2 times, most recently from f3bf8ae to d462eb6 Compare September 11, 2023 16:01
@scylla-operator-bot scylla-operator-bot bot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Sep 11, 2023
Copy link
Collaborator

@zimnx zimnx left a comment

Choose a reason for hiding this comment

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

/lgtm

@scylla-operator-bot scylla-operator-bot bot added the lgtm Indicates that a PR is ready to be merged. label Sep 11, 2023
@scylla-operator-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rzetelskik, zimnx

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@scylla-operator-bot scylla-operator-bot bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 11, 2023
@scylla-operator-bot scylla-operator-bot bot removed the lgtm Indicates that a PR is ready to be merged. label Sep 11, 2023
@zimnx
Copy link
Collaborator

zimnx commented Sep 11, 2023

/lgtm

@scylla-operator-bot scylla-operator-bot bot added the lgtm Indicates that a PR is ready to be merged. label Sep 11, 2023
@zimnx
Copy link
Collaborator

zimnx commented Sep 11, 2023

PR description is stale, please update it.

@zimnx
Copy link
Collaborator

zimnx commented Sep 11, 2023

/test e2e-gke-serial

@scylla-operator-bot scylla-operator-bot bot merged commit 6d28dca into scylladb:master Sep 11, 2023
11 checks passed
@rzetelskik rzetelskik deleted the orphaned-pv-fix branch September 12, 2023 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. priority/critical-urgent Highest priority. Must be actively worked on as someone's top priority right now. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failing test: ScyllaCluster Orphaned PV controller [It] should replace a node with orphaned PV
2 participants