Skip to content

Commit f5c84b4

Browse files
Fixing e2e test (#734)
* Fixing e2e test Signed-off-by: Vishesh Tanksale <[email protected]> * Fixing e2e test Signed-off-by: Vishesh Tanksale <[email protected]> --------- Signed-off-by: Vishesh Tanksale <[email protected]>
1 parent 52fe2a7 commit f5c84b4

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

test/e2e/data/nimservice-multi-llm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ spec:
99
pullPolicy: IfNotPresent
1010
pullSecrets:
1111
- ngc-secret
12-
authSecret: ngc-api-secret
12+
authSecret: hf-token-secret
1313
storage:
1414
nimCache:
1515
name: nim-cache-multi-llm

test/e2e/nim-operator_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,9 @@ var _ = Describe("NIM Operator", Ordered, func() {
110110
When("deploying NIMCache and NIMService", Ordered, func() {
111111
AfterEach(func() {
112112
// Clean up
113-
cleanupNIMCRs()
113+
if !CurrentSpecReport().Failed() {
114+
cleanupNIMCRs()
115+
}
114116
})
115117

116118
It("should go to READY state", func(ctx context.Context) {

0 commit comments

Comments
 (0)