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

feat: jazzy support #542

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Conversation

miyakoshi-dev
Copy link
Contributor

Description

jazzy support

Related links

https://tier4.atlassian.net/browse/RT2-1803

Notes for reviewers

Pre-review checklist for the PR author

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

  • The PR has been properly tested.
  • The PR has been reviewed.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • (Optional) The PR has been properly tested with CARET_report verification.
  • There are no open discussions or they are tracked via tickets.
  • The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

@miyakoshi-dev miyakoshi-dev changed the title jazzy support feat: jazzy support Nov 11, 2024
@miyakoshi-dev miyakoshi-dev requested a review from ymski December 6, 2024 05:15
@ymski
Copy link
Contributor

ymski commented Dec 10, 2024

In this PR, distribution is taken from an environment variable. This looks good at first glance, but there may be cases where the environment is not identical at the time of measurement and analysis. In this process, we want the distribution of the measurement environment to be acquired. In this case, we should get the information about the distribution from the trace data, and in fact the distribution is stored in caret_init.

@miyakoshi-dev
Copy link
Contributor Author

Fixed to reference "distribution" stored in caret_init

@miyakoshi-dev miyakoshi-dev requested a review from ymski December 12, 2024 05:42
src/test/infra/lttng/test_lttng_info.py Outdated Show resolved Hide resolved
src/caret_analyze/infra/lttng/ros2_tracing/processor.py Outdated Show resolved Hide resolved
src/test/infra/lttng/test_lttng.py Outdated Show resolved Hide resolved
src/test/infra/lttng/test_lttng.py Outdated Show resolved Hide resolved
src/caret_analyze/infra/lttng/ros2_tracing/processor.py Outdated Show resolved Hide resolved
src/test/infra/lttng/test_lttng_info.py Outdated Show resolved Hide resolved
'distribution',
['jazzy', 'iron'],
)
def test_duplicated_events_entities_collector(self, mocker, distribution):
Copy link
Contributor

Choose a reason for hiding this comment

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

There is no test for iron.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I only wanted jazzy to work, so iron was deleted

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for the correction. If the distribution is jazzy only, there is no need to use pytest.mark.paramatrize.
Could you remove prametrize and remove the if statement?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed prametrize

src/test/infra/lttng/test_lttng.py Outdated Show resolved Hide resolved
src/test/infra/lttng/test_lttng.py Outdated Show resolved Hide resolved
@miyakoshi-dev miyakoshi-dev requested a review from ymski December 24, 2024 04:42
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