From bd0d373a424a96a71bafce36222857f9761428b0 Mon Sep 17 00:00:00 2001 From: Jintao Zhang Date: Fri, 12 Apr 2024 12:30:06 +0000 Subject: [PATCH] fix panic Signed-off-by: Jintao Zhang --- test/conformance/gateway_conformance_test.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/conformance/gateway_conformance_test.go b/test/conformance/gateway_conformance_test.go index 60eeaf2ddf..7a8689d7a9 100644 --- a/test/conformance/gateway_conformance_test.go +++ b/test/conformance/gateway_conformance_test.go @@ -3,6 +3,8 @@ package conformance import ( + "embed" + "io/fs" "os" "path" "testing" @@ -19,6 +21,9 @@ import ( "github.com/kong/kubernetes-ingress-controller/v3/test/internal/testenv" ) +//go:embed * +var Manifests embed.FS + var skippedTestsForTraditionalRoutes = []string{ // core conformance tests.HTTPRouteHeaderMatching.ShortName, @@ -70,6 +75,7 @@ func TestGatewayConformance(t *testing.T) { Debug: true, CleanupBaseResources: !testenv.IsCI(), BaseManifests: conformanceTestsBaseManifests, + ManifestFS: []fs.FS{&Manifests}, SupportedFeatures: sets.New(supportedFeatures...), SkipTests: skippedTests, ConformanceProfiles: sets.New(