Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1.41 KB

File metadata and controls

38 lines (24 loc) · 1.41 KB

End-to-End Tests

This document provides instructions on how to run the end-to-end tests.

Overview

The end-to-end tests are designed to validate end-to-end Gateway API Inference Extension functionality. These tests are executed against a Kubernetes cluster and use the Ginkgo testing framework to ensure the extension behaves as expected.

Prerequisites

Running the End-to-End Tests

Follow these steps to run the end-to-end tests:

  1. Clone the Repository: Clone the gateway-api-inference-extension repository:

    git clone https://github.com/kubernetes-sigs/gateway-api-inference-extension.git && cd gateway-api-inference-extension
  2. Export Your Hugging Face Hub Token: The token is required to run the test model server:

    export HF_TOKEN=<MY_HF_TOKEN>
  3. Run the Tests: Run the test-e2e target:

    make test-e2e

    The test suite prints details for each step. Note that the vllm-llama3-8b-instruct-pool model server deployment may take several minutes to report an Available=True status due to the time required for bootstraping.