[DO NOT MERGE] Test: intentional failing test to verify PR pipeline failure detection#655
Closed
saurabh500 wants to merge 2 commits into
Closed
[DO NOT MERGE] Test: intentional failing test to verify PR pipeline failure detection#655saurabh500 wants to merge 2 commits into
saurabh500 wants to merge 2 commits into
Conversation
…ction Temporary dummy test to confirm the PR pipeline correctly catches and reports failing tests. To be removed after verification. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
| Temporary dummy test used to verify that the PR pipeline correctly reports | ||
| failing tests. This test is intentionally designed to FAIL. | ||
|
|
||
| TODO: Remove this file once the pipeline failure-detection behavior has been |
Contributor
There was a problem hiding this comment.
Pull request overview
Dummy PR intended to validate that the repository’s PR pipeline correctly detects and reports failing tests by introducing an intentionally failing pytest test.
Changes:
- Adds a new test module that intentionally fails immediately to force the CI test stage to go red.
- Documents the intent and cleanup instruction directly in the new test file.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+9
to
+12
|
|
||
| def test_dummy_intentional_failure(): | ||
| # Intentionally failing assertion to validate pipeline failure detection. | ||
| assert 1 == 2, "Intentional failure to verify the PR pipeline catches test failures" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
This is a dummy PR to verify whether the PR pipeline correctly catches and reports a failing test. Do not merge.
What's here
tests/test_0000_dummy_pipeline_check.pycontaining a single, intentionally failing test (assert 1 == 2).Expected outcome
The PR pipeline should go red on the test stage. If it passes green, there is a bug where failing tests are not surfaced by the PR pipeline.
Cleanup
Remove this branch/PR and the dummy test file once the pipeline behavior has been confirmed.
Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com