Skip to content

Commit 00426d6

Browse files
E2e test
Signed-off-by: Vishesh Tanksale <vtanksale@nvidia.com>
1 parent d981f1b commit 00426d6

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/e2e.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,12 @@
1515
name: End-to-end Tests
1616

1717
on:
18-
workflow_run:
19-
workflows: [Image]
20-
types:
21-
- completed
18+
on:
19+
push:
2220
branches:
2321
- main
2422
- release-*
2523
- e2e-test
26-
workflow_dispatch:
2724

2825
jobs:
2926
e2e-tests:

test/e2e/nim-operator_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ import (
2727

2828
. "github.com/onsi/ginkgo/v2"
2929
. "github.com/onsi/gomega"
30-
"github.com/urfave/cli"
3130

3231
helm "github.com/mittwald/go-helm-client"
3332
helmValues "github.com/mittwald/go-helm-client/values"
@@ -113,6 +112,8 @@ var _ = Describe("NIM Operator", Ordered, func() {
113112
AfterEach(func() {
114113
// Clean up
115114
//cleanupNIMCRs()
115+
cli, err := versioned.NewForConfig(clientConfig)
116+
Expect(err).NotTo(HaveOccurred())
116117
nimCache, err := cli.AppsV1alpha1().NIMCaches(testNamespace.Name).Get(ctx, "nimcache", metav1.GetOptions{})
117118
Expect(err).NotTo(HaveOccurred())
118119
log.Println(nimCache)

0 commit comments

Comments
 (0)