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

Give warning when backend is not active #890

Merged
merged 8 commits into from
Jun 8, 2023
Merged

Conversation

merav-aharoni
Copy link
Contributor

Summary

Give warning when the backend is not active in QiskitRuntimeService.run.

Details and comments

Fixes #884.

@coveralls
Copy link

coveralls commented Jun 5, 2023

Pull Request Test Coverage Report for Build 5215323344

  • 4 of 4 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.03%) to 72.612%

Totals Coverage Status
Change from base Build 5213006080: 0.03%
Covered Lines: 2577
Relevant Lines: 3549

💛 - Coveralls

@merav-aharoni merav-aharoni marked this pull request as ready for review June 5, 2023 12:31
@merav-aharoni
Copy link
Contributor Author

@kt474 - do you think a test is necessary? I checked it locally on the real devices. But creating a test turned out to be complicated, because it involves calling run on a backend whose status needs to be manipulated to be non-active.

@merav-aharoni merav-aharoni requested a review from kt474 June 5, 2023 12:33
@kt474 kt474 added the Changelog: New Feature Include in the Added section of the changelog label Jun 8, 2023
@kt474 kt474 merged commit 35c15c5 into Qiskit:main Jun 8, 2023
@merav-aharoni merav-aharoni deleted the non-active branch June 9, 2023 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: New Feature Include in the Added section of the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Runtime should warn if a backend is not active
3 participants