Skip to content

Commit c747a12

Browse files
committed
minor change in e2e test
Signed-off-by: Nir Rozenbaum <[email protected]>
1 parent 214a339 commit c747a12

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/e2e/epp/e2e_suite_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,13 +228,13 @@ func createModelServer(k8sClient client.Client, secretPath, deployPath string) {
228228
ginkgo.By("Ensuring the model server manifest points to an existing file")
229229
modelServerManifestArray := readYaml(deployPath)
230230
gomega.Expect(modelServerManifestArray).NotTo(gomega.BeEmpty())
231-
modelServerManifest := modelServerManifestArray[0]
232-
if strings.Contains(modelServerManifest, "HF_TOKEN") {
231+
modelServerManifestYaml := modelServerManifestArray[0]
232+
if strings.Contains(modelServerManifestYaml, "HF_TOKEN") {
233233
createHfSecret(k8sClient, secretPath)
234234
}
235235

236236
ginkgo.By("Creating model server resources from manifest: " + deployPath)
237-
applyYAMLFile(k8sClient, deployPath)
237+
createObjsFromYaml(k8sClient, modelServerManifestArray)
238238

239239
// Wait for the deployment to exist.
240240
deploy := &appsv1.Deployment{}

0 commit comments

Comments
 (0)