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

[6.15.z] Add marker for case insensitive test collection by component and importance #15233

Merged

Conversation

Satellite-QE
Copy link
Collaborator

Cherrypick of PR: #15005

Problem Statement

We need case insensitive test collection component-wise

Solution

Added marker for component-wise test collection
result:
pytest tests/foreman/ --component auditlog
collected 5434 items / 5426 deselected / 8 selected

tests/foreman/api/test_audit.py ✓✓✓                                                                                                38% ███▊      
 tests/foreman/ui/test_audit.py ✓✓✓✓✓                                                                                              100% ██████████

=======================================================

Related Issues

…rtance (#15005)

Collect tests with case insensitive component marker

(cherry picked from commit 3fa1539)
@Satellite-QE Satellite-QE requested a review from a team as a code owner May 30, 2024 11:04
@Satellite-QE Satellite-QE added 6.15.z Introduced in or relating directly to Satellite 6.15 Auto_Cherry_Picked Automatically cherrypicked PR using GHA No-CherryPick PR doesnt need CherryPick to previous branches labels May 30, 2024
@Satellite-QE
Copy link
Collaborator Author

trigger: test-robottelo
pytest: tests/foreman/ --component auditlog

@Satellite-QE Satellite-QE added the AutoMerge_Cherry_Picked The cherrypicked PRs of master PR would be automerged if all checks passing label May 30, 2024
@Satellite-QE
Copy link
Collaborator Author

PRT Result

Build Number: 7203
Build Status: UNSTABLE
PRT Comment: pytest tests/foreman/ --component auditlog --external-logging
Test Result : === 8 passed, 5434 deselected, 5556 warnings, 5 errors in 960.06s (0:16:00) ====

@Satellite-QE Satellite-QE added the PRT-Failed Indicates that latest PRT run is failed for the PR label May 30, 2024
@jyejare jyejare added PRT-Passed Indicates that latest PRT run is passed for the PR and removed PRT-Failed Indicates that latest PRT run is failed for the PR labels Jun 2, 2024
@jyejare
Copy link
Member

jyejare commented Jun 2, 2024

The test collection happened as expected here so test failure is not related.

@jyejare jyejare merged commit 1d272f6 into 6.15.z Jun 2, 2024
17 of 22 checks passed
@jyejare jyejare deleted the cherry-pick-6.15.z-3fa1539607ed28a7362bcf30359bafcb4c537411 branch June 2, 2024 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.15.z Introduced in or relating directly to Satellite 6.15 Auto_Cherry_Picked Automatically cherrypicked PR using GHA AutoMerge_Cherry_Picked The cherrypicked PRs of master PR would be automerged if all checks passing No-CherryPick PR doesnt need CherryPick to previous branches PRT-Passed Indicates that latest PRT run is passed for the PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants