Skip to content

[BugFix]: Skip error#89

Merged
p-gentili merged 2 commits into
mainfrom
fix-skip-error
Oct 14, 2025
Merged

[BugFix]: Skip error#89
p-gentili merged 2 commits into
mainfrom
fix-skip-error

Conversation

@douglasdotc
Copy link
Copy Markdown
Collaborator

Description

Recently, we discovered that when a robot script has just one test and it is skipped, _end_suite() will log a video using logger.error(), which raises an actual error and stops a suite from proceeding to the next one. This PR changes the checking from not result.passed to result.failed so that we only log the video only when a suite is failed.

Resolved issues

N/A

Documentation

N/A

Tests

testing...

Signed-off-by: Douglas Chiang <douglas.chiang@canonical.com>
Signed-off-by: Douglas Chiang <douglas.chiang@canonical.com>
@douglasdotc douglasdotc marked this pull request as ready for review October 14, 2025 15:29
@douglasdotc douglasdotc requested a review from p-gentili October 14, 2025 15:29
@p-gentili p-gentili merged commit f247276 into main Oct 14, 2025
6 checks passed
@p-gentili p-gentili deleted the fix-skip-error branch October 14, 2025 15:30
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