Skip to content

Commit 84dbfa4

Browse files
committed
Uses GatewayClass test suite flag for GC under test
Signed-off-by: Daneyon Hansen <daneyon.hansen@solo.io>
1 parent b6f94ad commit 84dbfa4

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

conformance/tests/gatewayclass-supported-version-condition.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,8 @@ var GatewayClassSupportedVersionCondition = suite.ConformanceTest{
4040
features.SupportGateway,
4141
},
4242
Description: "A GatewayClass should set the SupportedVersion condition based on the presence and version of Gateway API CRDs in the cluster",
43-
Manifests: []string{"tests/gatewayclass-supported-version-condition.yaml"},
4443
Test: func(t *testing.T, s *suite.ConformanceTestSuite) {
45-
gwc := types.NamespacedName{Name: "gatewayclass-supported-version-condition"}
44+
gwc := types.NamespacedName{Name: s.GatewayClassName}
4645

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

conformance/tests/gatewayclass-supported-version-condition.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)