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

[BUG] flaky unit test TestRevisionManage #1555

Closed
furykerry opened this issue Apr 1, 2024 · 0 comments · Fixed by #1556
Closed

[BUG] flaky unit test TestRevisionManage #1555

furykerry opened this issue Apr 1, 2024 · 0 comments · Fixed by #1556
Labels
kind/bug Something isn't working

Comments

@furykerry
Copy link
Member

furykerry commented Apr 1, 2024

What happened:
unit test fails sometimes

I0331 08:45:12.439640   29806 uniteddeployment_update.go:110] UnitedDeployment default/foo needs creating subset (StatefulSet) with name: [subset-a]
--- FAIL: TestRevisionManage (4.18s)
    revision_test.go:117: 
        Expected
            <*errors.StatusError | 0xc0001488c0>: {
                ErrStatus: {
                    TypeMeta: {Kind: "", APIVersion: ""},
                    ListMeta: {
                        SelfLink: "",
                        ResourceVersion: "",
                        Continue: "",
                        RemainingItemCount: nil,
                    },
                    Status: "Failure",
                    Message: "Operation cannot be fulfilled on uniteddeployments.apps.kruise.io \"foo\": the object has been modified; please apply your changes to the latest version and try again",
                    Reason: "Conflict",
                    Details: {
                        Name: "foo",
                        Group: "apps.kruise.io",
                        Kind: "uniteddeployments",
                        UID: "",
                        Causes: nil,
                        RetryAfterSeconds: 0,
                    },
                    Code: 409,
                },
            }
        to be nil

What you expected to happen:
test case should be stable

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

  • Kruise version:
  • Kubernetes version (use kubectl version):
  • Install details (e.g. helm install args):
  • Others:
@furykerry furykerry added the kind/bug Something isn't working label Apr 1, 2024
@furykerry furykerry mentioned this issue Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant