Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move eventtype rekttest pingsource to experiment #7180

Conversation

Leo6Leo
Copy link
Member

@Leo6Leo Leo6Leo commented Aug 15, 2023

Fixes #7181

Proposed Changes

As per discussion here, will move this experimental test to the experiment rekt test folder.

Pre-review Checklist

  • At least 80% unit test coverage
  • E2E tests for any new behavior
  • Docs PR for any user-facing impact
  • Spec PR for any new API feature
  • Conformance test for any change to the spec

Release Note


Docs

@codecov
Copy link

codecov bot commented Aug 15, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.03% ⚠️

Comparison is base (08cf00f) 77.89% compared to head (8981098) 77.87%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7180      +/-   ##
==========================================
- Coverage   77.89%   77.87%   -0.03%     
==========================================
  Files         246      246              
  Lines       13214    13214              
==========================================
- Hits        10293    10290       -3     
- Misses       2400     2402       +2     
- Partials      521      522       +1     

see 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Cali0707
Copy link
Member

@Leo6Leo should we hold on #7166 until after this is merged?

@knative-prow knative-prow bot added area/test-and-release Test infrastructure, tests or release size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Aug 15, 2023
@knative-prow
Copy link

knative-prow bot commented Aug 15, 2023

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@knative-prow knative-prow bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 15, 2023
@Leo6Leo Leo6Leo marked this pull request as ready for review August 15, 2023 19:37
@knative-prow knative-prow bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 15, 2023
Signed-off-by: Leo Li <[email protected]>
@Leo6Leo
Copy link
Member Author

Leo6Leo commented Aug 15, 2023

/cc @creydr @Cali0707

@knative-prow knative-prow bot requested review from Cali0707 and creydr August 15, 2023 21:47
@creydr creydr mentioned this pull request Aug 16, 2023
5 tasks
@matzew
Copy link
Member

matzew commented Aug 24, 2023

/retest

@matzew
Copy link
Member

matzew commented Aug 24, 2023

/test upgrade-tests

@matzew
Copy link
Member

matzew commented Aug 24, 2023

@Leo6Leo this needs a rebase

@knative-prow-robot knative-prow-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 24, 2023
…ce-to-experiment' into move-eventtype-rekttest-pingsource-to-experiment
@knative-prow knative-prow bot removed the lgtm Indicates that a PR is ready to be merged. label Aug 24, 2023
@knative-prow-robot knative-prow-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 24, 2023
Copy link
Member

@matzew matzew left a comment

Choose a reason for hiding this comment

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

/lgtm
/unhold

@knative-prow knative-prow bot added lgtm Indicates that a PR is ready to be merged. and removed do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. labels Aug 24, 2023
@knative-prow knative-prow bot removed the lgtm Indicates that a PR is ready to be merged. label Aug 24, 2023
@knative-prow knative-prow bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Aug 24, 2023
@Leo6Leo
Copy link
Member Author

Leo6Leo commented Aug 24, 2023

/cc @Cali0707 @matzew

@knative-prow knative-prow bot requested review from Cali0707 and matzew August 24, 2023 18:31
Copy link
Member

@Cali0707 Cali0707 left a comment

Choose a reason for hiding this comment

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

/lgtm

Thanks @Leo6Leo !

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label Aug 24, 2023
@knative-prow
Copy link

knative-prow bot commented Aug 24, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Cali0707, Leo6Leo, matzew

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@Leo6Leo
Copy link
Member Author

Leo6Leo commented Aug 24, 2023

/retest-required

@knative-prow knative-prow bot merged commit 0e8b7ca into knative:main Aug 24, 2023
mgencur pushed a commit to mgencur/eventing that referenced this pull request Jan 24, 2024
* Fix the merge conflict and fix the logical error in the test

Signed-off-by: Leo Li <[email protected]>

* Add the auto eventType creation support

Signed-off-by: Leo Li <[email protected]>

* reformat and remove the comments

Signed-off-by: Leo Li <[email protected]>

* Remove the assertReference function

Signed-off-by: Leo Li <[email protected]>

* fix reviewDog issue

Signed-off-by: Leo Li <[email protected]>

* Update test/rekt/resources/eventtype/eventtype.go

Co-authored-by: Calum Murray <[email protected]>

* fix reviewDog issue

Signed-off-by: Leo Li <[email protected]>

* Move the test to experimental rekt

Signed-off-by: Leo Li <[email protected]>

* Remove the eventtype test from the pingsource rekt test

Signed-off-by: Leo Li <[email protected]>

* Rename the test name to make it more intuitive

Signed-off-by: Leo Li <[email protected]>

* Revert the unit test change

Signed-off-by: Leo Li <[email protected]>

* Format fix

Signed-off-by: Leo Li <[email protected]>

* format fix

Signed-off-by: Leo Li <[email protected]>

* Fix Christoph's comment

Signed-off-by: Leo Li <[email protected]>

* go imports

Signed-off-by: Leo Li <[email protected]>

* Update test/experimental/features/eventtype_autocreation/eventtype.go

Co-authored-by: Christoph Stäbler <[email protected]>

* Update test/experimental/eventtype_autocreation_test.go

Co-authored-by: Christoph Stäbler <[email protected]>

* Apply suggestions from code review

Co-authored-by: Christoph Stäbler <[email protected]>

* Change the name of the file

Signed-off-by: Leo Li <[email protected]>

* Update the deprecated string

Signed-off-by: Leo Li <[email protected]>

* Update test/rekt/features/pingsource/features.go

Co-authored-by: Calum Murray <[email protected]>

* Manually merge the chanhges from Calum's ticket

Signed-off-by: Leo Li <[email protected]>

* Manually merge the chanhges from Calum's ticket

Signed-off-by: Leo Li <[email protected]>

---------

Signed-off-by: Leo Li <[email protected]>
Co-authored-by: Calum Murray <[email protected]>
Co-authored-by: Christoph Stäbler <[email protected]>
Co-authored-by: Matthias Wessendorf <[email protected]>
mgencur added a commit to mgencur/eventing that referenced this pull request Jan 25, 2024
mgencur pushed a commit to mgencur/eventing that referenced this pull request Jan 29, 2024
* Fix the merge conflict and fix the logical error in the test

Signed-off-by: Leo Li <[email protected]>

* Add the auto eventType creation support

Signed-off-by: Leo Li <[email protected]>

* reformat and remove the comments

Signed-off-by: Leo Li <[email protected]>

* Remove the assertReference function

Signed-off-by: Leo Li <[email protected]>

* fix reviewDog issue

Signed-off-by: Leo Li <[email protected]>

* Update test/rekt/resources/eventtype/eventtype.go

Co-authored-by: Calum Murray <[email protected]>

* fix reviewDog issue

Signed-off-by: Leo Li <[email protected]>

* Move the test to experimental rekt

Signed-off-by: Leo Li <[email protected]>

* Remove the eventtype test from the pingsource rekt test

Signed-off-by: Leo Li <[email protected]>

* Rename the test name to make it more intuitive

Signed-off-by: Leo Li <[email protected]>

* Revert the unit test change

Signed-off-by: Leo Li <[email protected]>

* Format fix

Signed-off-by: Leo Li <[email protected]>

* format fix

Signed-off-by: Leo Li <[email protected]>

* Fix Christoph's comment

Signed-off-by: Leo Li <[email protected]>

* go imports

Signed-off-by: Leo Li <[email protected]>

* Update test/experimental/features/eventtype_autocreation/eventtype.go

Co-authored-by: Christoph Stäbler <[email protected]>

* Update test/experimental/eventtype_autocreation_test.go

Co-authored-by: Christoph Stäbler <[email protected]>

* Apply suggestions from code review

Co-authored-by: Christoph Stäbler <[email protected]>

* Change the name of the file

Signed-off-by: Leo Li <[email protected]>

* Update the deprecated string

Signed-off-by: Leo Li <[email protected]>

* Update test/rekt/features/pingsource/features.go

Co-authored-by: Calum Murray <[email protected]>

* Manually merge the chanhges from Calum's ticket

Signed-off-by: Leo Li <[email protected]>

* Manually merge the chanhges from Calum's ticket

Signed-off-by: Leo Li <[email protected]>

---------

Signed-off-by: Leo Li <[email protected]>
Co-authored-by: Calum Murray <[email protected]>
Co-authored-by: Christoph Stäbler <[email protected]>
Co-authored-by: Matthias Wessendorf <[email protected]>
mgencur added a commit to mgencur/eventing that referenced this pull request Jan 29, 2024
openshift-merge-bot bot pushed a commit to openshift-knative/eventing that referenced this pull request Jan 29, 2024
* Added rekt test for channel event autocreate (knative#7198)

Signed-off-by: Calum Murray <[email protected]>

* Move eventtype rekttest pingsource to experiment (knative#7180)

* Fix the merge conflict and fix the logical error in the test

Signed-off-by: Leo Li <[email protected]>

* Add the auto eventType creation support

Signed-off-by: Leo Li <[email protected]>

* reformat and remove the comments

Signed-off-by: Leo Li <[email protected]>

* Remove the assertReference function

Signed-off-by: Leo Li <[email protected]>

* fix reviewDog issue

Signed-off-by: Leo Li <[email protected]>

* Update test/rekt/resources/eventtype/eventtype.go

Co-authored-by: Calum Murray <[email protected]>

* fix reviewDog issue

Signed-off-by: Leo Li <[email protected]>

* Move the test to experimental rekt

Signed-off-by: Leo Li <[email protected]>

* Remove the eventtype test from the pingsource rekt test

Signed-off-by: Leo Li <[email protected]>

* Rename the test name to make it more intuitive

Signed-off-by: Leo Li <[email protected]>

* Revert the unit test change

Signed-off-by: Leo Li <[email protected]>

* Format fix

Signed-off-by: Leo Li <[email protected]>

* format fix

Signed-off-by: Leo Li <[email protected]>

* Fix Christoph's comment

Signed-off-by: Leo Li <[email protected]>

* go imports

Signed-off-by: Leo Li <[email protected]>

* Update test/experimental/features/eventtype_autocreation/eventtype.go

Co-authored-by: Christoph Stäbler <[email protected]>

* Update test/experimental/eventtype_autocreation_test.go

Co-authored-by: Christoph Stäbler <[email protected]>

* Apply suggestions from code review

Co-authored-by: Christoph Stäbler <[email protected]>

* Change the name of the file

Signed-off-by: Leo Li <[email protected]>

* Update the deprecated string

Signed-off-by: Leo Li <[email protected]>

* Update test/rekt/features/pingsource/features.go

Co-authored-by: Calum Murray <[email protected]>

* Manually merge the chanhges from Calum's ticket

Signed-off-by: Leo Li <[email protected]>

* Manually merge the chanhges from Calum's ticket

Signed-off-by: Leo Li <[email protected]>

---------

Signed-off-by: Leo Li <[email protected]>
Co-authored-by: Calum Murray <[email protected]>
Co-authored-by: Christoph Stäbler <[email protected]>
Co-authored-by: Matthias Wessendorf <[email protected]>

* Added rekt test for broker eventtype autocreate (knative#7202)

Signed-off-by: Calum Murray <[email protected]>

* change the deprecated string (knative#7179)

* change the deprecated string

* Apply suggestions from code review

Co-authored-by: Calum Murray <[email protected]>

---------

Co-authored-by: Calum Murray <[email protected]>

* rekt test to verify only one EventType created for MTBroker (knative#7586)

fix: eventtype autocreate for broker asserts that only one et is created

Signed-off-by: Calum Murray <[email protected]>

* Generalize description of EventType in CRD. (knative#7617)

Generalize description of EventType.

EventType is now compatible with other resources as well, not just
Broker.

* Scripts for executing experimental reconciler tests

* Revert "change the deprecated string (knative#7179)"

This reverts commit 7659227.

* Revert "Move eventtype rekttest pingsource to experiment (knative#7180)"

This reverts commit c8d12c3.

* Revert "rekt test to verify only one EventType created for MTBroker (knative#7586)"

This reverts commit 4eac230.

* Revert "Revert "change the deprecated string (knative#7179)""

This reverts commit e469414.

* Use sources.ApiServerSourceEventResourceModeTypes for ApiServerSource

* Clean up imports

---------

Signed-off-by: Calum Murray <[email protected]>
Signed-off-by: Leo Li <[email protected]>
Co-authored-by: Calum Murray <[email protected]>
Co-authored-by: Leo Li <[email protected]>
Co-authored-by: Christoph Stäbler <[email protected]>
Co-authored-by: Matthias Wessendorf <[email protected]>
Co-authored-by: Iqbal H <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/test-and-release Test infrastructure, tests or release lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move eventtype rekt test for pingsource to experimental rekt tests
5 participants