Skip to content

Commit

Permalink
Uses GatewayClass test suite flag for GC under test
Browse files Browse the repository at this point in the history
Signed-off-by: Daneyon Hansen <[email protected]>
  • Loading branch information
danehans committed Nov 15, 2024
1 parent b6f94ad commit 84dbfa4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,8 @@ var GatewayClassSupportedVersionCondition = suite.ConformanceTest{
features.SupportGateway,
},
Description: "A GatewayClass should set the SupportedVersion condition based on the presence and version of Gateway API CRDs in the cluster",
Manifests: []string{"tests/gatewayclass-supported-version-condition.yaml"},
Test: func(t *testing.T, s *suite.ConformanceTestSuite) {
gwc := types.NamespacedName{Name: "gatewayclass-supported-version-condition"}
gwc := types.NamespacedName{Name: s.GatewayClassName}

t.Run("SupportedVersion condition should be set correctly", func(t *testing.T) {
ctx, cancel := context.WithTimeout(context.Background(), s.TimeoutConfig.DefaultTestTimeout)
Expand Down

This file was deleted.

0 comments on commit 84dbfa4

Please sign in to comment.