-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
TEP-0114: Tests Wait Custom Task without CRD in PipelineRun #5356
Conversation
a050aac
to
22569ef
Compare
/assign |
I'm a bit confused what the goal of these tests are-- what do you mean by with/without CRD? The name of the test class is "TestWaitCustomTask_PipelineRun" but the the test cases are PipelineRun running/succeeded/timed out and it seems like it's testing interaction between pipelinerun timeout and wait task duration. Could you please just give a few sentences about what the behavior being tested is? |
Thanks for the comment Lee @lbernick, great point. I think the main purpose is to test how the run status is reflected upon different PipelineRun statuses. I'll update the testing name to make it clearer. About with/without CRD, the difference is whether the Custom Task has it's own spec&status defined. We can take the existing Shortly speaking, we want to mimic the actual usage of Custom Task Run. wdyt? Let me know there's still confusion :) |
2f483f5
to
9d49fef
Compare
Prior to this commit, we were not able to test Custom Task Run in This commit starts to test the behavior of Custom Task Run without CRD in a PipelineRun against a Custom Task Controller. Future Work: test Custom Task Run with CRD against the Wait Custom Task Controller.
9d49fef
to
0b897db
Compare
@lbernick @XinruZhang adding a comment to clarify further. There are some There are some These end-to-end tests cover the first scenario (without CRDs) and this may be sufficient for now. If needed later, we may consider adding another |
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.
Thanks @XinruZhang!
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jerop 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 |
ok thanks @XinruZhang @jerop for the explanation, this makes sense. /lgtm |
Changes
This commit starts to test the behavior of Custom Task Run without
CRD in a PipelineRun against a Custom Task Controller.
Future Work: test Custom Task Run with CRD against the Wait Custom
Task Controller.
/kind feature
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
/kind <type>
. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tepRelease Notes