Skip to content

Commit 5e9e83e

Browse files
committed
fixup! Expose logs/resources after test run
Signed-off-by: Joaquim Moreno Prusi <joaquim@redhat.com>
1 parent e5de514 commit 5e9e83e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/e2e/install_test.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ import (
2828
)
2929

3030
const (
31-
defaultTimeout = 30 * time.Second
32-
defaultPoll = 1 * time.Second
31+
defaultTimeout = 30 * time.Second
32+
defaultPoll = 1 * time.Second
33+
artifactTestName = "operator-controller-e2e"
3334
)
3435

3536
var _ = Describe("Operator Install", func() {
@@ -135,7 +136,7 @@ func getArtifactsOutput(ctx context.Context, basePath string) {
135136
kubeClient, err := kubeclient.NewForConfig(cfg)
136137
Expect(err).To(Not(HaveOccurred()))
137138

138-
artifactPath := filepath.Join(basePath, fmt.Sprint(time.Now().UnixNano()))
139+
artifactPath := filepath.Join(basePath, artifactTestName, fmt.Sprint(time.Now().UnixNano()))
139140

140141
// Create the full artifact path
141142
err = os.MkdirAll(artifactPath, 0755)

0 commit comments

Comments
 (0)