Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: fix snapd-refresh-undo test for beta validation #14980

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sergiocazzolato
Copy link
Collaborator

This happens on beta validation that /var/lib/snapd/snaps/snapd_x1.snap doesn't exist and there is a snapd snap with the beta revision instead of x1.

This happens on beta validation that /var/lib/snapd/snaps/snapd_x1.snap
doesn't exist and there is a snapd snap with the beta revision instead
of x1.
@sergiocazzolato sergiocazzolato added the Simple 😃 A small PR which can be reviewed quickly label Jan 24, 2025
@sergiocazzolato sergiocazzolato added this to the 2.68 milestone Jan 24, 2025
Copy link

codecov bot commented Jan 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (master@79632c6). Learn more about missing BASE report.
Report is 21 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master   #14980   +/-   ##
=========================================
  Coverage          ?   78.26%           
=========================================
  Files             ?     1158           
  Lines             ?   153703           
  Branches          ?        0           
=========================================
  Hits              ?   120288           
  Misses            ?    26012           
  Partials          ?     7403           
Flag Coverage Δ
unittests 78.26% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

Fri Jan 24 23:12:29 UTC 2025
The following results are from: https://github.com/canonical/snapd/actions/runs/12958111086

Failures:

cp /var/lib/snapd/snaps/snapd_x1.snap ./snapd.snap
else
# Beta validation has a different snapd version
cp /var/lib/snapd/snaps/snapd_*.snap ./snapd.snap
Copy link
Collaborator

Choose a reason for hiding this comment

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

Would this not cover both cases? Is ot required to be specific with edge where we expect x1?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Simple 😃 A small PR which can be reviewed quickly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants