Skip to content

e2e-tests (1/4): Repackage gnmi-test-server and e2e test infrastructure#407

Open
nikatza wants to merge 1 commit into
mainfrom
refactor-tests-1
Open

e2e-tests (1/4): Repackage gnmi-test-server and e2e test infrastructure#407
nikatza wants to merge 1 commit into
mainfrom
refactor-tests-1

Conversation

@nikatza

@nikatza nikatza commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

e2e tests should only evaluate the correct deployment of the operator as defined by the kubebuilder markers. Hence, we remove all the gNMI related infrastructure from the e2e tests.

This PR effectively removes the current tests which are to be reincorporated in a follow-up PR

@nikatza nikatza force-pushed the refactor-tests-1 branch from d6f35e8 to 4f9dd88 Compare June 16, 2026 21:32
@nikatza nikatza force-pushed the refactor-tests-1 branch from 4f9dd88 to 23777e1 Compare June 16, 2026 21:40
@nikatza nikatza changed the title Repackage gnmi-test-server and e2e test infrastructure e2e-tests (1/4): Repackage gnmi-test-server and e2e test infrastructure Jun 16, 2026
@nikatza nikatza force-pushed the refactor-tests-1 branch 7 times, most recently from 791563e to 090c7f3 Compare June 24, 2026 12:18
@nikatza nikatza force-pushed the refactor-tests-1 branch 19 times, most recently from 3a120c9 to 831bed7 Compare July 8, 2026 08:50
@nikatza nikatza force-pushed the refactor-tests-1 branch 4 times, most recently from 7da7ea8 to 7ecb0d8 Compare July 8, 2026 12:10
@nikatza nikatza marked this pull request as ready for review July 8, 2026 12:22
@nikatza nikatza requested a review from a team as a code owner July 8, 2026 12:22
@nikatza nikatza marked this pull request as draft July 8, 2026 19:32
@nikatza nikatza force-pushed the refactor-tests-1 branch 2 times, most recently from 57d07be to 774afd2 Compare July 8, 2026 23:26
@github-actions github-actions Bot added size/XL and removed size/XXL labels Jul 8, 2026
@nikatza nikatza force-pushed the refactor-tests-1 branch 4 times, most recently from 9fc2d6b to d6c4f76 Compare July 9, 2026 19:50
@github-actions github-actions Bot added size/XXL and removed size/XL labels Jul 9, 2026
@nikatza nikatza force-pushed the refactor-tests-1 branch 6 times, most recently from 302bbc3 to 96a6617 Compare July 10, 2026 09:12
@github-actions github-actions Bot added size/XL and removed size/XXL labels Jul 10, 2026
@nikatza nikatza force-pushed the refactor-tests-1 branch from 96a6617 to c9b5a8f Compare July 10, 2026 09:17
e2e tests should only evaluate the correct deployment of the operator as
defined by the kubebuilder markers. Hence, in this commit we remove all
the gNMI related infrastructure from the e2e tests.

The current integration tests with the gNMI test server will be later
moved into its own space within the project. The tests will use an
`envtest` environment, removing the need to deploy a cluster to evaluate
that the workflow from k8s resource to provider payload is correctly
implemented. Hence, no need to have it as a module.The standalone
main.go and Dockerfile are removed.

We relocate the txtar test fixtures from test/e2e/testdata/ to
test/gnmi/testdata/, where the gNMI integration tests will live.

The default profile in kustomize now has prometheus enabled by default.
With this change we can eliminate some code and remove the Makefile targets
that modify the profile when running the e2e tests.

Allow overriding the Prometheus Operator and cert-manager installation
URLs via environment variables PROMETHEUS_OPERATOR_URL and
CERT_MANAGER_URL.

Signed-off-by: Pujol <enric.pujol@sap.com>
@nikatza nikatza force-pushed the refactor-tests-1 branch from c9b5a8f to 6c3f4a6 Compare July 10, 2026 09:45
@nikatza nikatza marked this pull request as ready for review July 10, 2026 09:49
@github-actions

Copy link
Copy Markdown

Merging this branch will not change overall coverage

Impacted Packages Coverage Δ 🤖
github.com/ironcore-dev/network-operator/test/e2e 0.00% (ø)
github.com/ironcore-dev/network-operator/test/gnmi/testserver 0.00% (ø)

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/ironcore-dev/network-operator/test/gnmi/testserver/server.go 0.00% (ø) 0 0 0

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

Changed unit test files

  • github.com/ironcore-dev/network-operator/test/e2e/e2e_suite_test.go
  • github.com/ironcore-dev/network-operator/test/e2e/e2e_test.go
  • github.com/ironcore-dev/network-operator/test/e2e/util_test.go

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant