Skip to content

Investigate and fix failures in webhook integration tests: TestAdmissionWebhook_HTTPRoute #3207

@pmalek

Description

@pmalek

Problem statement

We have migrated webhook tests in #3141 to KO's integration test suite. 2 of the test cases there seem to be failing in CI:

        	Error Trace:	/home/runner/work/kong-operator/kong-operator/test/integration/validatingwebhook/validating_httproute_test.go:239
        	Error:      	An error is expected but got nil.
        	Test:       	TestAdmissionWebhook_HTTPRoute/a_httproute_with_an_invalid_path_regex_fails_validation
...
    validating_httproute_test.go:239: 
        	Error Trace:	/home/runner/work/kong-operator/kong-operator/test/integration/validatingwebhook/validating_httproute_test.go:239
        	Error:      	An error is expected but got nil.
        	Test:       	TestAdmissionWebhook_HTTPRoute/a_httproute_with_an_invalid_header_regex_fails_validation

Example failing CI links:

This issue tracks the effort to investigate and fix these.

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions