Skip to content

Consolidate test object creation under the wrappers pkg #353

Open
@ahg-g

Description

@ahg-g

In a few places in tests we create pools, models and pods. We used at the wrapper pattern in a few projects and it worked generally well. I think we can follow the same pattern here.

#350 introduces the wrapper pkg and adds the PodWrapper, we can follow up with InferencePoolWrapper, InferenceModelWrapper, PodMetricsWrapper and RequestWrapper (for which we have some functions that we can repurpose https://github.com/kubernetes-sigs/gateway-api-inference-extension/blob/main/pkg/ext-proc/test/utils.go#L63).

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions