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

CIV: Add new test for otel package #316

Merged
merged 12 commits into from
Jul 24, 2024
Merged

Conversation

sshmulev
Copy link
Collaborator

No description provided.

@sshmulev sshmulev force-pushed the new_otel_package branch 4 times, most recently from bafdf48 to af45b1c Compare May 2, 2024 08:46
@sshmulev sshmulev force-pushed the new_otel_package branch 5 times, most recently from 64ad9cc to ebe1a19 Compare May 7, 2024 12:17
test_suite/package/test_otel.py Outdated Show resolved Hide resolved
test_suite/package/test_otel.py Outdated Show resolved Hide resolved
test_suite/package/test_otel.py Outdated Show resolved Hide resolved
test_suite/package/test_otel.py Outdated Show resolved Hide resolved
test_suite/package/test_otel.py Outdated Show resolved Hide resolved
test_suite/package/test_otel.py Outdated Show resolved Hide resolved
test_suite/package/test_otel.py Outdated Show resolved Hide resolved
test_suite/package/test_otel.py Outdated Show resolved Hide resolved
test_suite/package/test_otel.py Outdated Show resolved Hide resolved
test_suite/package/test_otel.py Outdated Show resolved Hide resolved
@sshmulev
Copy link
Collaborator Author

sshmulev commented May 8, 2024

Added the changes will push them

@sshmulev sshmulev force-pushed the new_otel_package branch 6 times, most recently from e7a6cf9 to 9bb2167 Compare May 8, 2024 11:47
@sshmulev sshmulev requested a review from narmaku May 8, 2024 11:49
test_suite/package/test_otel.py Outdated Show resolved Hide resolved
test_suite/package/test_otel.py Outdated Show resolved Hide resolved
test_suite/package/test_otel.py Outdated Show resolved Hide resolved
test_suite/package/test_otel.py Outdated Show resolved Hide resolved
@sshmulev sshmulev force-pushed the new_otel_package branch from 9bb2167 to b259404 Compare May 9, 2024 06:38
@sshmulev sshmulev force-pushed the new_otel_package branch from 37d2097 to f38ccab Compare May 20, 2024 05:42
@narmaku narmaku self-requested a review July 2, 2024 08:33
@narmaku
Copy link
Collaborator

narmaku commented Jul 4, 2024

@sshmulev did the tests passed in your local environment? If so, let's merge this! 🚀

Copy link
Collaborator

@narmaku narmaku left a comment

Choose a reason for hiding this comment

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

LGTM - just make sure tests pass 100% in your local environment (since we cannot test this any other way right now).

@narmaku narmaku self-requested a review July 8, 2024 02:49
Copy link
Collaborator

@narmaku narmaku left a comment

Choose a reason for hiding this comment

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

LGTM, just a small comment.

test_suite/package/test_otel.py Outdated Show resolved Hide resolved
@sshmulev sshmulev force-pushed the new_otel_package branch 2 times, most recently from faffbc6 to d4fd16a Compare July 11, 2024 04:52
test_suite/package/otel_package/fixtures.py Outdated Show resolved Hide resolved
test_suite/generic/helpers.py Outdated Show resolved Hide resolved
test_suite/package/otel_package/fixtures.py Outdated Show resolved Hide resolved
test_suite/package/otel_package/fixtures.py Show resolved Hide resolved
Copy link
Collaborator

@narmaku narmaku left a comment

Choose a reason for hiding this comment

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

LGTM - just one comment to make the __get_instance_data_from_json function even more generic, now that it is in the helpers file.

test_suite/package/otel_package/fixtures.py Outdated Show resolved Hide resolved
test_suite/generic/helpers.py Outdated Show resolved Hide resolved
test_suite/generic/helpers.py Outdated Show resolved Hide resolved
@narmaku narmaku self-requested a review July 18, 2024 05:38
@narmaku
Copy link
Collaborator

narmaku commented Jul 18, 2024

@sshmulev Please resolve the old/outdated conversations, otherwise they flood the pull request history and it's harder to follow-up. Also I won't get notified about resolutions and my latest code review status won't change, which will be even more confusing. Thanks.

sshmulev added 12 commits July 24, 2024 16:47
Resolved Logger - removed it
Changed fixture scope to "session" instead of "function"
fixtures.py - There are many fixtures related to this test, In my opinion it is better arranged so in this case.
This fixture file is under otel_packge folder which are fixtures that are spesific only for this testing pakckage.

helpers.py - The helpers file include a method that might be used for many other tests and not be limited by a fixture scope.
This file may include some other generic helpful methods in our tests.
@narmaku narmaku force-pushed the new_otel_package branch from b8ba256 to 1c6c5a6 Compare July 24, 2024 07:47
@sshmulev sshmulev merged commit ff2bcfd into osbuild:main Jul 24, 2024
3 checks passed
@sshmulev sshmulev deleted the new_otel_package branch July 24, 2024 08:40
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