Repository navigation
E2e - #28
E2e#28
Conversation
|
|
||
| ## Implementation | ||
|
|
||
| Currently pure golang is used for running suite expectations but this can be moved to a framework eg. ginkgo as requirement rises |
There was a problem hiding this comment.
What's the benefit of the current implementation over ginkgo framework? We are already at a point where it's time to use ginkgo [1]:
- to generate junit files
- to specify subset of tests to be run
- better readability of the code (everything else is part of framework initialization)
- community is already familiar with the technology
- support for various assertions we don't need to implement
- order of tests can by randomized before running
- tests can be run in parallel (which may discover potential flakes/bugs) compare to running them in series as we have now
[1] https://github.com/onsi/ginkgo
|
I would expect the following layout: Top level dir under |
|
@ingvagabund to clarify, the goal is to take any duplicated e2e testing we have today and centralised it here. So we can verify that any product user expectation is not broken by one or more components that belong to the machine API domain This must be invariant. These tests must run across all repos with no option to be disabled in order to validate the holistic expected behaviour of the system which might be broken by any subcomponent. If your component interfere some how with machine API domain and it's not running this, that's bad The implementation is intentionally simple. Once we merge this and all repos are consuming from here a second iteration for implementation details, e.g layout, ginkgo... can take place |
Not in disagreement here. That's why I am for
When is the second iteration going to take place? The later we do it, the harder it will be to integrate the tests into ginkgo since the number of tests will grow over time. I am still in favor of deciding if we are going to use ginkgo now or not before we merge the PR. And if we decide to go with ginkgo, start with ginkgo from scratch. |
The implementation of the tests is totally unrelated to this PR. Again the problem this is solving is "to take any duplicated e2e testing we have today and centralised it here. So we can verify that any product user expectation is not broken by one or more components that belong to the machine API domain" Once we equalise here the coverage we have today duplicated across repos and this is consumed everywhere, it works, it's stable and we are confident, then any implementation change should take place |
The purpose of the PR can be changed any time.
We can reach the same goal even with the ginkgo framework.
Every time we change the underlying framework (pure golang, ginkgo, I-do-not-care-what-the-name-of-the-framework-is framework), we will need to stabilize and get confident again. Let's do it now when we can start from scratch and iteratively add more tests. And in the opposite way. First, let's run the "new" tests (a.k.a all tests grabbed from all the repos) just here (using both kubernetes+kubemark and openshift). Once all the tests are green and running, we can start vendoring the new framework into other repos. |
|
Looks like the |
bison
left a comment
There was a problem hiding this comment.
/lgtm
Seems like a good start to me.
|
@bison: changing LGTM is restricted to assignees, and only openshift/cluster-api-actuator-pkg repo collaborators may be assigned issues. DetailsIn response to this:
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/test-infra repository. |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ingvagabund 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 |
|
/test e2e-aws-operator |
|
@enxebre: The following test failed for commit bba66d7, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. |
|
/lgtm for @bison |
|
/retest |
Unify machine api e2e suites
See Readme 3988124