Closed pablochacin closed 1 year ago
@roobre these tests do not use the e2e test framework at all. In fact, the cluster package is used by the e2e test framework.
The benefit is to separate the tests that actually use the e2e
framework (basically, the disruptor test) from the tests that target one single component, like this one.
I have changed the name of the test clusters to avoid any reference to e2e
, in case this may induce confusion.
Makes sense, I think what confused me was that both used kind
-related things under the hood.
I think what confused me was that both used kind-related things under the hood.
The purpose of this package is to isolate the e2e
tests from the actual test infrastructure we use (in this case, kind
). So is not that they both use the same infrastructure but this cluster
package provides the infrastructure to the e2e
tests. The tests we are moving here just test the integration with kind.
Description
Moves the cluster tests to the package as integration tests. The are no changes to the tests.
Checklist:
make lint
) and all checks pass.make test
) and all tests pass.make e2e-xxx
fordisruptors
,kubernetes
orcluster
related changes)