Skip to content

test(e2e): migrate nerdctl tests to Ginkgo framework#500

Merged
cmainas merged 1 commit intourunc-dev:main-pr500from
IrvingMg:enhance/e2e-migrate-nerdctl-suite-to-ginkgo
Feb 25, 2026
Merged

test(e2e): migrate nerdctl tests to Ginkgo framework#500
cmainas merged 1 commit intourunc-dev:main-pr500from
IrvingMg:enhance/e2e-migrate-nerdctl-suite-to-ginkgo

Conversation

@IrvingMg
Copy link
Copy Markdown
Contributor

Description

Migrate the nerdctl e2e tests from the standard Go testing package to Ginkgo. This includes changes such as:

  • Renaming the test entry point from TestCtr to TestE2E so that all Ginkgo specs run under a single function. The Makefile targets use --ginkgo.focus to select which suite (Ctr or Nerdctl) to run.
  • Deduplicating the BeforeEach logic in ctr_test.go by introducing a shared setupTestDir helper.

Related issues

How was this tested?

  • make test_nerdctl
  • make test_nerdctl_Qemu
  • make test_ctr_Hvt

LLM usage

Claude Code (Opus 4.6)

Checklist

  • I have read the contribution guide.
  • The linter passes locally (make lint).
  • The e2e tests of at least one tool pass locally (make test_ctr, make test_nerdctl, make test_docker, make test_crictl).
  • If LLMs were used: I have read the llm policy.

@netlify
Copy link
Copy Markdown

netlify Bot commented Feb 19, 2026

Deploy Preview for urunc canceled.

Name Link
🔨 Latest commit 9f3e65c
🔍 Latest deploy log https://app.netlify.com/projects/urunc/deploys/699d9c3bc3cb4f00088b2779

@IrvingMg IrvingMg force-pushed the enhance/e2e-migrate-nerdctl-suite-to-ginkgo branch 2 times, most recently from 8252ca5 to 91f245e Compare February 19, 2026 20:24
Copy link
Copy Markdown
Contributor

@cmainas cmainas left a comment

Choose a reason for hiding this comment

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

Thank you @IrvingMg for the changes.

Everything looks good, just one request. Let's remove the kvm group discovery and setting in the arguments of the container, since it is no longer needed. However, could you do that in a separate commit so we can easily distinguish it from the rest of the refactor?

Comment thread tests/e2e/nerdctl_test.go Outdated
Signed-off-by: Irving Mondragón <mirvingr@gmail.com>
@IrvingMg IrvingMg force-pushed the enhance/e2e-migrate-nerdctl-suite-to-ginkgo branch from 91f245e to 9f3e65c Compare February 24, 2026 12:40
@urunc-bot urunc-bot Bot changed the base branch from main to main-pr500 February 25, 2026 11:26
Copy link
Copy Markdown
Contributor

@cmainas cmainas left a comment

Choose a reason for hiding this comment

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

Thank you @IrvingMg for the refactor.

@cmainas cmainas merged commit a4b289a into urunc-dev:main-pr500 Feb 25, 2026
35 checks passed
github-actions Bot pushed a commit that referenced this pull request Feb 25, 2026
PR: #500
Signed-off-by: Irving Mondragón <mirvingr@gmail.com>
Reviewed-by: Charalampos Mainas <cmainas@nubificus.co.uk>
Approved-by: Charalampos Mainas <cmainas@nubificus.co.uk>
urunc-bot Bot pushed a commit that referenced this pull request Feb 25, 2026
PR: #500
Signed-off-by: Irving Mondragón <mirvingr@gmail.com>
Reviewed-by: Charalampos Mainas <cmainas@nubificus.co.uk>
Approved-by: Charalampos Mainas <cmainas@nubificus.co.uk>
@IrvingMg IrvingMg deleted the enhance/e2e-migrate-nerdctl-suite-to-ginkgo branch February 25, 2026 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants