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

Fix: Inconclusive test counts #765

Merged
merged 3 commits into from
Jan 16, 2025
Merged

Conversation

Francisco2002
Copy link
Collaborator

Some parts of code are ignoring tests with null path, while other parts are ignoring this tests.
To make consistent, the follow approach is implemented:

  • treat null path as nonboot tests
  • ignoring test id null

Close #741

@Francisco2002 Francisco2002 self-assigned this Jan 15, 2025
@Francisco2002 Francisco2002 force-pushed the fix/inconclusive-test-counts branch from 72a5692 to 623ad6a Compare January 15, 2025 14:34
@Francisco2002 Francisco2002 changed the base branch from main to feat/others-tree-endpoint January 15, 2025 14:36
@WilsonNet WilsonNet force-pushed the feat/others-tree-endpoint branch from 30f1089 to 7e0ad8f Compare January 15, 2025 14:45
@Francisco2002 Francisco2002 force-pushed the fix/inconclusive-test-counts branch from 623ad6a to 654c4fb Compare January 15, 2025 14:47
@WilsonNet WilsonNet force-pushed the feat/others-tree-endpoint branch 2 times, most recently from b385ab9 to 381adb9 Compare January 15, 2025 15:46
@Francisco2002 Francisco2002 force-pushed the fix/inconclusive-test-counts branch from 654c4fb to 3aa1040 Compare January 15, 2025 17:24
@Francisco2002 Francisco2002 changed the base branch from feat/others-tree-endpoint to main January 15, 2025 17:25
issue_id=issue_id,
incident_test_id=incident_test_id
)
if test_id is not None:
Copy link
Collaborator

Choose a reason for hiding this comment

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

use early return or early continue to avoid nested ifs, otherwise it becomes a hadouken

Copy link
Collaborator

@WilsonNet WilsonNet left a comment

Choose a reason for hiding this comment

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

worked on my tests

- tree details
- tree commits history
- hardware details

Part of #741
@Francisco2002 Francisco2002 force-pushed the fix/inconclusive-test-counts branch from 3717b43 to 344209e Compare January 15, 2025 18:02
@Francisco2002 Francisco2002 force-pushed the fix/inconclusive-test-counts branch from 344209e to d131336 Compare January 15, 2025 19:17
Copy link
Contributor

@murilx murilx left a comment

Choose a reason for hiding this comment

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

LGTM

@Francisco2002 Francisco2002 merged commit b92fe3d into main Jan 16, 2025
5 checks passed
@Francisco2002 Francisco2002 deleted the fix/inconclusive-test-counts branch January 16, 2025 12:16
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.

Wrong values for inconclusive status in tests tab
3 participants