Skip to content

Merge TLS and OIDC e2e tests #7638

Open

Description

@creydr

Currently the TLS and OIDC e2e tests are mostly redundant and test the same (e.g. both have test to test the reply & DLS). Mostly the only difference is, that the OIDC tests configure an audience.

Therefor we should check, which OIDC and TLS tests can be merged and merge both "suites" together.

Hint:

  • Some tests still might be only relevant for TLS or OIDC (e.g. TestBrokerSupportsOIDC which tests only for OIDC compliance)

Activity

  1. added
    kind/cleanup
    on Jan 29, 2024
  2. parth721 commented on Feb 18, 2024

    @parth721

    Hi @creydr, I am interested in this issue and want to gain more experience in this topic as a beginner.

  3. creydr commented on Feb 19, 2024

    @creydr
    MemberAuthor

    Hello @parth721,
    thanks for showing interest in this issue 👍
    Anyhow, in case you're new to knative or the code base, I think a good-first-issue could be a good start to get into the code bases and the development process. You can check for good-first-issues e.g. here: https://github.com/search?q=org%3Aknative+org%3Aknative-extensions++label%3A%22good+first+issue%22+is%3Aissue+is%3Aopen+&type=issues.
    In case you want to "prepare" for these issues, check for TLS or OIDC related issues.

    Anyhow if you feel confident for this issue already, feel free to assign it to you.

  4. parth721 commented on Feb 19, 2024

    @parth721

    Hey @creydr,
    you are right, picking a goodfirst issues to understand the codebase is a great idea, but the catch is that all the issues are assigned, and some issues are merged anywhere else but kept open as goood first issue( 1yr old).
    Are these issues still kept opened for beginners or is there any labels similar to good first issue(level 2) :).
    what about difficulty level of flaky issues ? I don't know much about them, but i'm happy to learn.

  5. moved this from Backlog to Todo in Knative Eventingon Mar 25, 2024
  6. added
    help wanted
    on Apr 11, 2024
  7. prajjwalyd commented on Jun 13, 2024

    @prajjwalyd
    Member

    Hey @creydr,
    I was going through the tests yesterday and noticed that TestMTChannelBrokerRotateTLSCertificates and TestBrokerSupportsOIDC from broker_test.go, as well as (to some extent) TestInMemoryChannelTLS and TestChannelImplSupportsOIDC from channel_test.go, have a significant overlap in environment setup and focus on similar functionalities.
    I think merging these tests into single functions with clear subtests would indeed streamline our test suite...
    I'm looking to fix this issue and wanted to confirm if my identification is correct or if there are some other aspects left to consider.

    Thanks!

  8. github-actions commented on Sep 12, 2024

    @github-actions
    Contributor

    This issue is stale because it has been open for 90 days with no
    activity. It will automatically close after 30 more days of
    inactivity. Reopen the issue with /reopen. Mark the issue as
    fresh by adding the comment /remove-lifecycle stale.

  9. added
    lifecycle/stale
    on Sep 12, 2024
  10. Cali0707 commented on Nov 4, 2024

    @Cali0707
    Member

    /reopen
    /triage accepted

  11. knative-prow commented on Nov 4, 2024

    @knative-prow

    @Cali0707: Reopened this issue.

    Details

    In response to this:

    /reopen
    /triage accepted

    Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

  12. added
    triage/accepted
    on Nov 4, 2024
  13. removed
    lifecycle/stale
    on Nov 4, 2024
  14. added a commit that references this issue on Aug 9, 2026
    d8fa9c8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedkind/cleanuptriage/accepted

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions