Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions test/e2e/router/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,12 @@ func TestModelRouteWithRateLimit(t *testing.T) {
TestModelRouteWithRateLimitShared(t, testCtx, testNamespace, false, "")
}

// TestModelRouteWithGlobalRateLimit tests global rate limiting enforced by the Kthena Router.
// This test runs the shared test function without Gateway API (no ParentRefs).
func TestModelRouteWithGlobalRateLimit(t *testing.T) {
TestModelRouteWithGlobalRateLimitShared(t, testCtx, testNamespace, false, kthenaNamespace)
}

// TestModelRouteLora tests ModelRoute with LoRA adapter routing.
// This test runs the shared test function without Gateway API (no ParentRefs).
func TestModelRouteLora(t *testing.T) {
Expand Down
6 changes: 6 additions & 0 deletions test/e2e/router/gateway-api/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,12 @@ func TestModelRouteWithRateLimit(t *testing.T) {
router.TestModelRouteWithRateLimitShared(t, testCtx, testNamespace, true, kthenaNamespace)
}

// TestModelRouteWithGlobalRateLimit tests global rate limiting enforced by the Kthena Router.
// This test runs the shared test function with Gateway API enabled (with ParentRefs).
func TestModelRouteWithGlobalRateLimit(t *testing.T) {
router.TestModelRouteWithGlobalRateLimitShared(t, testCtx, testNamespace, true, kthenaNamespace)
}

// TestModelRouteLora tests ModelRoute with LoRA adapter routing.
// This test runs the shared test function with Gateway API enabled (with ParentRefs).
func TestModelRouteLora(t *testing.T) {
Expand Down
Loading
Loading