Skip to content

Test: Display correct total e2e evacuation tries number - #867

Merged
markylaing merged 1 commit into
canonical:mainfrom
roosterfish:fix_evac_count
Jul 11, 2025
Merged

Test: Display correct total e2e evacuation tries number#867
markylaing merged 1 commit into
canonical:mainfrom
roosterfish:fix_evac_count

Conversation

@roosterfish

Copy link
Copy Markdown
Contributor

The EVACUATION_COUNTS always starts at 1 so subtracting 1 causes the display of a wrong value for the total number of tries.
When setting EVACUATION_COUNTS to 10, you can see the job printing (10/9) for the last try: https://github.com/canonical/microcloud/actions/runs/16188650147/job/45708968808#step:3:6339

@roosterfish

Copy link
Copy Markdown
Contributor Author

The e2e failure is unrelated.

The EVACUATION_COUNTS always starts at 1 so subtracting 1 causes the display of a wrong value for the total number of tries.
When setting EVACUATION_COUNTS to 10, you can see the job printing '(10/9)' for the last try:
https://github.com/canonical/microcloud/actions/runs/16188650147/job/45708968808#step:3:6339

Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
@markylaing
markylaing merged commit fcf8375 into canonical:main Jul 11, 2025
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants