Skip to content

Add E2E test case for cron job source#1303

Merged
knative-prow-robot merged 2 commits into
knative:masterfrom
chizhg:AddTestForCronJobSource
Jun 5, 2019
Merged

Add E2E test case for cron job source#1303
knative-prow-robot merged 2 commits into
knative:masterfrom
chizhg:AddTestForCronJobSource

Conversation

@chizhg
Copy link
Copy Markdown
Contributor

@chizhg chizhg commented May 30, 2019

Proposed Changes

I revisited the samples of eventing sources, and I think there is no need to have a separate testing framework for eventing sources now. We can just create the EventSource resource, add a Kubernetes Service sink for it (we can just use the existed logger pod), and check if the Service can receive the events.

Probably in the future when we have an eventing sources framework, we can design a corresponding testing framework. But for now since we have decided to put CronJobSource under eventing repo, I think it would be good to have E2E test coverage for it.

Release Note

NONE

/cc @adrcunha

@knative-prow-robot knative-prow-robot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels May 30, 2019
@googlebot googlebot added the cla: yes Indicates the PR's author has signed the CLA. label May 30, 2019
@knative-prow-robot knative-prow-robot added the area/test-and-release Test infrastructure, tests or release label May 30, 2019
@chizhg
Copy link
Copy Markdown
Contributor Author

chizhg commented May 30, 2019

/retest

@chizhg chizhg changed the title [WIP]Add E2E test case for cron job source Add E2E test case for cron job source May 31, 2019
@knative-prow-robot knative-prow-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels May 31, 2019
serviceaccount is not required for cronjobsource

fix minor commment error

make the comment clearer
@chizhg chizhg force-pushed the AddTestForCronJobSource branch from 2f40357 to 43f4be1 Compare June 1, 2019 04:40
@chizhg
Copy link
Copy Markdown
Contributor Author

chizhg commented Jun 1, 2019

/cc @Harwayne

@chizhg
Copy link
Copy Markdown
Contributor Author

chizhg commented Jun 1, 2019

/hold cancel

@knative-prow-robot knative-prow-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 1, 2019
@chizhg
Copy link
Copy Markdown
Contributor Author

chizhg commented Jun 3, 2019

Ping.

@vaikas
Copy link
Copy Markdown
Contributor

vaikas commented Jun 5, 2019

/lgtm
/approve

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 5, 2019
@knative-prow-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Fredy-Z, vaikas-google

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

The pull request process is described here

Details 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

@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 5, 2019
@knative-prow-robot knative-prow-robot merged commit 433ac93 into knative:master Jun 5, 2019
@chizhg chizhg deleted the AddTestForCronJobSource branch June 6, 2019 21:14
skonto pushed a commit to skonto/eventing that referenced this pull request Jun 16, 2021
knative#1303)

Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
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 cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants