Skip to content

feat (testing): Delete container and snapshot for ctr tests - #314

Merged
cmainas merged 1 commit into
urunc-dev:main-pr314from
vliaskov:issue305
Nov 3, 2025
Merged

feat (testing): Delete container and snapshot for ctr tests#314
cmainas merged 1 commit into
urunc-dev:main-pr314from
vliaskov:issue305

Conversation

@vliaskov

Copy link
Copy Markdown
Contributor
  • Additionally delete snapshot in rmContainer().
  • Make errors from runContainer() and from unexpected output non-fatal, so that testCleanup() is also called in the case when running the container fails. This way artifacts are cleaned up from the previous run.

Fixes: #305

@netlify

netlify Bot commented Oct 29, 2025

Copy link
Copy Markdown

Deploy Preview for urunc canceled.

Name Link
🔨 Latest commit 92eeb01
🔍 Latest deploy log https://app.netlify.com/projects/urunc/deploys/69031ee1a4c04100089a7162

@ananos

ananos commented Oct 29, 2025

Copy link
Copy Markdown
Contributor

Hi @vliaskov!

thanks for your contribution! Can you please sign-off your commit so that the DCO check passes?

In the meantime we kicked-off the tests to run the checks.

thanks!

@cmainas
cmainas requested a review from gntouts October 29, 2025 12:11
- Additionally delete snapshot in rmContainer().
- Make errors from runContainer() and from unexpected output non-fatal, so that
  testCleanup() is also called in the case when running the container fails. This
  way artifacts are cleaned up from the previous run.

Fixes: urunc-dev#305
Signed-off-by: Vasilis Liaskovitis <vliaskovitis@suse.com>
@sonarqubecloud

Copy link
Copy Markdown

@urunc-bot
urunc-bot Bot changed the base branch from main to main-pr314 November 3, 2025 07:25

@cmainas cmainas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you @vliaskov ! The changes look good and the issue is fixed.

@cmainas
cmainas merged commit 8e474d0 into urunc-dev:main-pr314 Nov 3, 2025
35 checks passed
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.

testing: e2e ctr tests do not clean up properly in case of failure

3 participants