Skip to content

add support to run single gnmi test - #643

Merged
IvoGoman merged 1 commit into
mainfrom
feat/test-gnmi-single
Oct 16, 2026
Merged

IvoGoman merged 1 commit into
mainfrom
feat/test-gnmi-single

Conversation

@IvoGoman

Copy link
Copy Markdown
Contributor

by default an It node is generated per file in
the provider testdata directory.
This adds an optional environment var to filter
the tests and only run a specific one for local
debugging/testing.
The envvar is called PROVIDER_TEST_FILE and expects
the full file name

@IvoGoman
IvoGoman requested a review from nikatza October 15, 2026 17:01
@IvoGoman
IvoGoman force-pushed the feat/test-gnmi-single branch from 5a65bda to 0ffe184 Compare October 15, 2026 17:02
felix-kaestner
felix-kaestner previously approved these changes Oct 15, 2026

@felix-kaestner felix-kaestner left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we add this to the 'test-gnmi' Makefile target as a comment that this is possible?

by default an It node is generated per file in
the provider testdata directory.
This adds an optional environment var to filter
the tests and only run a specific one for local
debugging/testing.
The envvar is called PROVIDER_TEST_FILE and expects
the full file name

Signed-off-by: Ivo Gosemann <ivo.gosemann@sap.com>
@hardikdr hardikdr added the area/switch-automation Automation processes for network switch management and operations. label Oct 16, 2026
@IvoGoman
IvoGoman force-pushed the feat/test-gnmi-single branch from 0ffe184 to 65ee573 Compare October 16, 2026 07:06
@hardikdr hardikdr added this to Roadmap Oct 16, 2026
@github-actions

Copy link
Copy Markdown

Merging this branch changes the coverage (2 decrease, 2 increase)

Impacted Packages Coverage Δ 🤖
github.com/ironcore-dev/network-operator/internal/controller/cisco/nx 65.50% (+0.88%) 👍
github.com/ironcore-dev/network-operator/internal/controller/core 60.17% (-0.16%) 👎
github.com/ironcore-dev/network-operator/internal/controller/evpn 80.00% (-0.15%) 👎
github.com/ironcore-dev/network-operator/internal/controller/overlay 70.91% (+4.55%) 👍
Coverage details

Compared to commit 09fa2d6 (run #38743880027)

Changed unit test files:

  • github.com/ironcore-dev/network-operator/test/gnmi/gnmi_suite_test.go
  • github.com/ironcore-dev/network-operator/test/gnmi/gnmi_test.go

@IvoGoman
IvoGoman merged commit 93db7e5 into main Oct 16, 2026
26 checks passed
@IvoGoman
IvoGoman deleted the feat/test-gnmi-single branch October 16, 2026 07:49
@github-project-automation github-project-automation Bot moved this to Done in Roadmap Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/switch-automation Automation processes for network switch management and operations. size/S

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants