Use the standard resource creation libs for upgrade tests.#3539
Conversation
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vaikas The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
The following jobs failed:
Job pull-knative-eventing-upgrade-tests expended all 3 retries without success. |
|
I said I can take a look at this shortly, but I've meant in a couple of days time. I have other tasks, higher profile ones, assigned currently. You've started working on this. So, if you like to work on it, feel free. Otherwise, wait couple days, until I can go back to it. About this PR. General direction is good. I would like to say that I written the waits, as it is, to execute as much resource setup steps as possible in parallel. This parallel execution is there to speedup the whole setup process. It would be good to keep that behavior. |
|
regarding the parallel creation, it seems we create 4 resources, and overall, we're talking about 15 seconds overall for tests that take 20+ minutes to run, so to me the benefit of getting:
outweigh the complexity and loss of debuggability when things go wrong. Interesting bit of the latest run too, btw: |
|
/test pull-knative-eventing-build-tests pull-knative-eventing-upgrade-tests |
|
/test pull-knative-eventing-upgrade-tests |
|
/lgtm |
* adding istion annotation (#3534) * backporting #3543 * Update test/lib/duck/resource_inspectors.go Co-authored-by: Matt Moore <mattmoor@vmware.com> * Use the standard resource creation libs for upgrade tests. (#3539) * try to dump some state * use client wait or fail * create broker directly * removed the unused import Co-authored-by: Matt Moore <mattmoor@vmware.com>
* adding istion annotation (knative#3534) * backporting knative#3543 * Update test/lib/duck/resource_inspectors.go Co-authored-by: Matt Moore <mattmoor@vmware.com> * Use the standard resource creation libs for upgrade tests. (knative#3539) * try to dump some state * use client wait or fail * create broker directly * removed the unused import Co-authored-by: Matt Moore <mattmoor@vmware.com>
* adding istion annotation (knative#3534) * backporting knative#3543 * Update test/lib/duck/resource_inspectors.go Co-authored-by: Matt Moore <mattmoor@vmware.com> * Use the standard resource creation libs for upgrade tests. (knative#3539) * try to dump some state * use client wait or fail * create broker directly * removed the unused import Co-authored-by: Matt Moore <mattmoor@vmware.com>
* adding istion annotation (knative#3534) (knative#3557) * adding istion annotation (knative#3534) * backporting knative#3543 * Update test/lib/duck/resource_inspectors.go Co-authored-by: Matt Moore <mattmoor@vmware.com> * Use the standard resource creation libs for upgrade tests. (knative#3539) * try to dump some state * use client wait or fail * create broker directly * removed the unused import Co-authored-by: Matt Moore <mattmoor@vmware.com> * cp 3897 (knative#3902) * cp 3897 * backport 3719 * x bit * apiserversource v1beta1->v1alpha2 * install broker / sugar * backport 3945 to .16 (knative#3948) Co-authored-by: VijayaSenaReddy Ayyappaneni <48216363+vayyappaneni@users.noreply.github.com> Co-authored-by: Matt Moore <mattmoor@vmware.com> Co-authored-by: Ville Aikas <11279988+vaikas@users.noreply.github.com>
Address #3538
Proposed Changes
Release Note
Docs