Skip to content

Commit 32d1960

Browse files
committed
address review: add payload-agnostic config to wellknown_configs_test
Signed-off-by: Alok Behera <alokbeherak061@gmail.com>
1 parent 04817e7 commit 32d1960

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

test/integration/epp/wellknown_configs_test.go

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,31 @@ schedulingProfiles:
371371
{Name: "latency-slo-admitter", Type: "latency-slo-admitter"},
372372
},
373373
},
374+
"payload-agnostic": {
375+
yaml: `
376+
apiVersion: llm-d.ai/v1alpha1
377+
kind: EndpointPickerConfig
378+
plugins:
379+
- type: passthrough-parser
380+
- type: active-request-scorer
381+
- type: session-affinity-scorer
382+
requestHandler:
383+
parsers:
384+
- pluginRef: passthrough-parser
385+
schedulingProfiles:
386+
- name: default
387+
plugins:
388+
- pluginRef: active-request-scorer
389+
weight: 1
390+
- pluginRef: session-affinity-scorer
391+
weight: 1
392+
`,
393+
expectedPlugins: []configapi.PluginSpec{
394+
{Name: "passthrough-parser", Type: "passthrough-parser"},
395+
{Name: "active-request-scorer", Type: "active-request-scorer"},
396+
{Name: "session-affinity-scorer", Type: "session-affinity-scorer"},
397+
},
398+
},
374399
}
375400

376401
func TestWellKnownConfigs(t *testing.T) {

0 commit comments

Comments
 (0)