Skip to content

fix failure log print - #14032

Merged
Nir-Az merged 1 commit into
realsenseai:developmentfrom
Noy-Zini:Fix-unit-test-failure-after-successful-retry
May 29, 2025
Merged

fix failure log print#14032
Nir-Az merged 1 commit into
realsenseai:developmentfrom
Noy-Zini:Fix-unit-test-failure-after-successful-retry

Conversation

@Noy-Zini

Copy link
Copy Markdown
Contributor

Tracked on: [LRS-1265]

@Noy-Zini
Noy-Zini requested a review from Nir-Az May 27, 2025 15:43
@Nir-Az
Nir-Az requested a review from OhadMeir May 28, 2025 12:56
if n_errors:
log.out( log.red + str( n_errors ) + log.reset, 'of', n_tests, 'test(s)',
if failed_tests:
log.out( log.red + str( len(failed_tests) ) + log.reset, 'of', n_tests, 'test(s)',

@Nir-Az Nir-Az May 28, 2025

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Will this handle retries well?
meaning 1 test with retry failed and then passed we will see here all passed (like expected)?

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.

Yes, failed_test list is handled correctly and tests are appended only if all retries have failed.

@Nir-Az Nir-Az left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@Nir-Az
Nir-Az merged commit d5c1fe5 into realsenseai:development May 29, 2025
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.

3 participants