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 skipping of slow tests #13119

Merged
merged 1 commit into from
Sep 10, 2024
Merged

Fix skipping of slow tests #13119

merged 1 commit into from
Sep 10, 2024

Conversation

Cryoris
Copy link
Contributor

@Cryoris Cryoris commented Sep 10, 2024

Summary

Tests with the @slow_test decorators should only be run on-demand, but currently are executed in every CI run. We likely didn't notice this since there is only a single slow test at the moment.

Details and comments

It looks like a tiny logic bug, missing a not 🙂 If necessary, we could maybe add a test setting the environment variable QISKIT_TEST, but it seems straightforward enough as fix and works as expected locally.

No reno as this is not user facing.

@Cryoris Cryoris added the stable backport potential The bug might be minimal and/or import enough to be port to stable label Sep 10, 2024
@Cryoris Cryoris requested a review from a team as a code owner September 10, 2024 12:36
@qiskit-bot
Copy link
Collaborator

One or more of the following people are relevant to this code:

  • @Qiskit/terra-core

@Cryoris Cryoris added this to the 1.2.1 milestone Sep 10, 2024
@mtreinish mtreinish enabled auto-merge September 10, 2024 12:39
@mtreinish mtreinish added type: qa Issues and PRs that relate to testing and code quality Changelog: None Do not include in changelog labels Sep 10, 2024
@coveralls
Copy link

Pull Request Test Coverage Report for Build 10792560171

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 14 unchanged lines in 2 files lost coverage.
  • Overall coverage decreased (-0.009%) to 89.166%

Files with Coverage Reduction New Missed Lines %
crates/qasm2/src/lex.rs 2 93.23%
crates/qasm2/src/parse.rs 12 97.15%
Totals Coverage Status
Change from base Build 10774677144: -0.009%
Covered Lines: 73024
Relevant Lines: 81897

💛 - Coveralls

@mtreinish mtreinish added this pull request to the merge queue Sep 10, 2024
Merged via the queue into Qiskit:main with commit d14eb9c Sep 10, 2024
15 checks passed
mergify bot pushed a commit that referenced this pull request Sep 10, 2024
(cherry picked from commit d14eb9c)
github-merge-queue bot pushed a commit that referenced this pull request Sep 10, 2024
(cherry picked from commit d14eb9c)

Co-authored-by: Julien Gacon <jules.gacon@googlemail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: None Do not include in changelog stable backport potential The bug might be minimal and/or import enough to be port to stable type: qa Issues and PRs that relate to testing and code quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants