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

assisted ztp: add operator suite test namespaces to reporter #120

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tests/assisted/ztp/operator/tests/aci-dualstack-ipv4-first.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ var _ = Describe(
}

nsBuilder = namespace.NewBuilder(HubAPIClient, dualstackTestSpoke)

tsparams.ReporterNamespacesToDump[dualstackTestSpoke] = "dualstacktest namespace"
})
AfterEach(func() {
By("Delete the temporary namespace after test")
Expand Down
2 changes: 2 additions & 0 deletions tests/assisted/ztp/operator/tests/build-artifacts-rootfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ var _ = Describe(
}
}

tsparams.ReporterNamespacesToDump[rootfsSpokeName] = "rootfs-test namespace"

By("Creating " + rootfsSpokeName + " spoke cluster resources")
rootfsSpokeResources, err = setup.NewSpokeCluster(HubAPIClient).WithName(rootfsSpokeName).WithDefaultNamespace().
WithDefaultPullSecret().WithDefaultClusterDeployment().
Expand Down
2 changes: 2 additions & 0 deletions tests/assisted/ztp/operator/tests/infraenv-multiarch-image.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ var _ = Describe(
Skip("The hub cluster must be connected")
}

tsparams.ReporterNamespacesToDump[infraenvTestSpoke] = "infraenv-spoke namespace"

nsBuilder = namespace.NewBuilder(HubAPIClient, infraenvTestSpoke)

By("Grab the MirrorRegistryRef value from the spec")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ var _ = Describe(
if !osImageFound {
Skip("Corresponding OS Image not found in AgentServiceConfig")
}

tsparams.ReporterNamespacesToDump[osImageClusterImageSetName] = "osimage-clusterimageset-test namespace"
})

It("result in successfully created infraenv", reportxml.ID("41937"), func() {
Expand Down
Loading