Skip to content

Commit bc9f24d

Browse files
committed
Add e2e test for multi-port InferencePool
1 parent fcf0bda commit bc9f24d

File tree

3 files changed

+412
-42
lines changed

3 files changed

+412
-42
lines changed

test/e2e/epp/e2e_suite_test.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ func createMetricsRbac(testConfig *testutils.TestConfig, filePath string) {
267267
for _, m := range inManifests {
268268
outManifests = append(outManifests, strings.ReplaceAll(m, "$E2E_NS", testConfig.NsName))
269269
}
270+
270271
ginkgo.By("Creating RBAC resources for scraping metrics from manifest: " + filePath)
271272
testutils.CreateObjsFromYaml(testConfig, outManifests)
272273

@@ -320,7 +321,9 @@ func createEnvoy(testConfig *testutils.TestConfig, filePath string) {
320321

321322
// createInferExt creates the inference extension resources used for testing from the given filePath.
322323
func createInferExt(testConfig *testutils.TestConfig, filePath string) {
323-
inManifests := testutils.ReadYaml(filePath)
324+
325+
// This image needs to be updated to open multiple ports and respond.
326+
inManifests := testutils.ReadYaml(filePath) // Modify inference-pool.yaml
324327
ginkgo.By("Replacing placeholders with environment variables")
325328
outManifests := []string{}
326329
replacer := strings.NewReplacer(

0 commit comments

Comments
 (0)