Skip to content

Dependencies between e2e tests lead to cascading failures #512

Closed
@m1kola

Description

@m1kola

In this test we delete the test catalog:

// Delete the catalog first
Expect(c.Delete(ctx, operatorCatalog)).To(Succeed())

And later recreate it here:

operatorCatalog, err = createTestCatalog(ctx, testCatalogName, os.Getenv(testCatalogRefEnvVar))
Expect(err).ToNot(HaveOccurred())

The issue is that - if any of the assertions before catalog recreation fails all tests which use the test catalog will also fail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions