Uh oh!
There was an error while loading. Please reload this page.
Do not assert against Generation in conformance tests - #475
Conversation
The values the conformance test was asserting against were wrong. Route.Generation and Configuration.Generation should actually have a value of 1 when they are first created, and the *.Status.Generation values are just hacks until CRD generations are updated properly (which is fixed in kubernetes/kubernetes#58778 but we are not yet using). I want to remove these assertions since they are just asserting against a hack. We should actually assert against Configuration.Generation and Route.Generation when we have pulled in the fix.
@bobcatfish: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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/test-infra repository. I understand the commands that are listed here. |
adrcunha
commented
Mar 23, 2018
/approve |
google-prow-robot
commented
Mar 23, 2018
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: adrcunha, bobcatfish 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 |
…1428) In #475 I removed assertions against Configuration.Spec.Generation b/c it is a hack and not part of the knative spec. In #600 I updated the conformance tests to assert against the Revision annotation which contains the generation. BUT THEN in #778 when I completely re-wrote the tests to no longer use Ginkgo, I accidentally undid both of those changes, so this commit puts them back 😅. BONUS: I hit a case where the length of the loadbalancer ingresses was 0 and got a panic, so if that happens again we'll get an informative error instead.
* Update catalogsource to 1.8.0 This patch updates catalogsource to v1.8.0. Also, it updates `openshift/olm/catalog.sh` to use minimal catalogsource. Previously the catalogsource contains all version, but it cuts unnecessary old versions for CI. * Add comment for patch
The values the conformance test was asserting against were wrong.
Route.Generation and Configuration.Generation should actually have
a value of 1 when they are first created, and the *.Status.Generation
values are just hacks until CRD generations are updated properly
(which is fixed in kubernetes/kubernetes#58778
but we are not yet using).
I want to remove these assertions since they are just asserting
against a hack. We should actually assert against
Configuration.Generation and Route.Generation when we have pulled in the
fix.