Skip to content

implement e2e test#135

Merged
hanapedia merged 11 commits into
mainfrom
implement-e2e-test
Feb 10, 2026
Merged

implement e2e test#135
hanapedia merged 11 commits into
mainfrom
implement-e2e-test

Conversation

@hanapedia

@hanapedia hanapedia commented Jan 30, 2026

Copy link
Copy Markdown
Contributor

This PR implements an e2e test for contour-plus.

Running the e2e test

Run the following commands to download the required tools, create the test environment, and execute the tests:

$ make setup
$ make e2e

Test environment

The e2e tests run against a Kind cluster created specifically for this suite.
The cluster includes the following components:

  • contour
  • cert-manager
  • external-dns
  • CoreDNS
  • etcd (used as the backend for CoreDNS)

For local testability, external-dns is configured to write DNS records into CoreDNS.
The relationship between the components are depicted below.
contour-plus-e2e

Test cases

The e2e test cases are intentionally kept minimal, as most functionality is already covered by envtest-based tests.
The e2e suite focuses on validating the core behavior of contour-plus: ensuring that TLS is correctly provisioned for endpoints defined via HTTPProxy.
In addition, the e2e tests verify that contour-plus continues to function correctly across restarts and upgrades.

@hanapedia hanapedia self-assigned this Jan 30, 2026
@hanapedia hanapedia force-pushed the implement-e2e-test branch 2 times, most recently from 8113504 to 9d03d1e Compare January 30, 2026 05:36
Signed-off-by: Hiroki Hanada <hiroki-hanada@cybozu.co.jp>
Signed-off-by: Hiroki Hanada <hiroki-hanada@cybozu.co.jp>
Signed-off-by: Hiroki Hanada <hiroki-hanada@cybozu.co.jp>
Signed-off-by: Hiroki Hanada <hiroki-hanada@cybozu.co.jp>
Signed-off-by: Hiroki Hanada <hiroki-hanada@cybozu.co.jp>
Signed-off-by: Hiroki Hanada <hiroki-hanada@cybozu.co.jp>
Signed-off-by: Hiroki Hanada <hiroki-hanada@cybozu.co.jp>
Signed-off-by: Hiroki Hanada <hiroki-hanada@cybozu.co.jp>
Signed-off-by: Hiroki Hanada <hiroki-hanada@cybozu.co.jp>
@chez-shanpu chez-shanpu self-requested a review February 2, 2026 05:30
@hanapedia hanapedia marked this pull request as ready for review February 2, 2026 05:30

@chez-shanpu chez-shanpu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left some small comments.

Comment thread e2e/suite_test.go Outdated
Comment thread e2e/Makefile Outdated
Comment thread e2e/README.md Outdated
Comment thread e2e/suite_test.go Outdated
Signed-off-by: Hiroki Hanada <hiroki-hanada@cybozu.co.jp>
Signed-off-by: Hiroki Hanada <hiroki-hanada@cybozu.co.jp>

@chez-shanpu chez-shanpu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hanapedia hanapedia merged commit ee232fe into main Feb 10, 2026
1 check passed
@hanapedia hanapedia deleted the implement-e2e-test branch February 10, 2026 04:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants