-
Notifications
You must be signed in to change notification settings - Fork 120
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
Broker conformance tests using reconciler-test #4200
base: main
Are you sure you want to change the base?
Broker conformance tests using reconciler-test #4200
Conversation
f.Setup("trigger transformer goes ready", trigger.IsReady(triggerTransformer)) | ||
|
||
f.Stable("Conformance"). | ||
ShouldNot("The Broker SHOULD NOT upgrade the CloudEvents version", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm just not sure about using ShouldNot/Should/Must
in this whole section. Any suggestions which ones to use?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the test should follow the spec language, however, the way we run the tests should and should not in practice are like must / must not as we don't "skip should / should not"
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4200 +/- ##
==========================================
- Coverage 45.53% 45.51% -0.02%
==========================================
Files 270 270
Lines 19925 19925
==========================================
- Hits 9072 9069 -3
- Misses 10127 10129 +2
- Partials 726 727 +1 ☔ View full report in Codecov by Sentry. |
/test upgrade-tests |
/retest-required |
/test upgrade-tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mgencur, pierDipi 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 |
/retest-required |
1 similar comment
/retest-required |
/retest-required |
@mgencur: The following test failed, say
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. I understand the commands that are listed here. |
Fixes a number of issues:
t.Fatalf
on a parent T which could fail the whole test suite like this:Proposed Changes
TestBrokerConsumer
fromtest/e2e/conformance/data_plane_conformance_test.go
TestBrokerIngress
completely as all the tests are covered elsewhere:Ingress Supports CE0.3, Ingress Supports CE1.0
: covered by data_plane.go that is called as part of broker_conformance_test.goIngress Supports Structured Mode
: covered by data_plane.goIngress Supports Binary Mode
: covered by data_plane.goRespond with 400 on bad CE
: covered by data_plane.go and data_plane.goRespond with 2XX on good CE
: covered by data_plane.goRelease Note
Docs