kubernetes-sigs / cluster-api-provider-vsphere

Apache License 2.0
360 stars 289 forks source link

Improve e2e testing #2995

Open sbueringer opened 1 month ago

sbueringer commented 1 month ago

Improve e2e tests

We compared CAPV govmomi & supervisor e2e tests with core CAPI e2e tests. As a result we want to make the following improvements.

Adding e2e tests:

Other improvements:

Reconsider if we need it later:

govmomi has the following additional jobs (intentionally):

* accepted: it's okay if it's only tested with govmomi: * capv-e2e.[It] Cluster creation with [Ignition] bootstrap [PR-Blocking] Should create a workload cluster * accepted: not surfaced in CAPV supervisor CRDs: * capv-e2e.[It] Cluster creation with anti affined nodes should create a cluster with anti-affined nodes * capv-e2e.[It] Cluster creation with storage policy should create a cluster successfully * capv-e2e.[It] DHCPOverrides configuration test when Creating a cluster with DHCPOverrides configured Only configures the network with the provided nameservers * accepted: IPAM provider not supported in supervisor mode * capv-e2e.[It] ClusterClass Creation using Cluster API quick-start test and IPAM Provider [ClusterClass] Should create a workload cluster
fabriziopandini commented 1 month ago

/area supervisor Given that most of the improvements are for supervisor mode

zhanggbj commented 1 month ago

I would like to start with

zhanggbj commented 1 month ago

Also would like to pick up a similar one :-)

zhanggbj commented 1 month ago

It seems this one is more about testing efforts. Just raised a PR to test.

sbueringer commented 1 month ago

Yeah good case is that most if it just works once added :)

A few require a bit more work

chrischdi commented 2 hours ago

Taking this one