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

Able to restart kernel after it dies #7681

Closed
1 task done
DonJayamanne opened this issue Sep 27, 2021 · 1 comment
Closed
1 task done

Able to restart kernel after it dies #7681

DonJayamanne opened this issue Sep 27, 2021 · 1 comment
Assignees

Comments

@DonJayamanne
Copy link
Contributor

DonJayamanne commented Sep 27, 2021

Refs: #7167

Complexity: 3

[Create Issue](https://github.com/microsoft/vscode-jupyter/issues/new?body=Testing+%23 7167%0A%0A&assignees=DonJayamanne)

Create Issue


Testing

  • Install Python
  • Install Python & Jupyter extension
  • Open VS Code Insiders
  • Create a python cell with the following code and run it
print("Hello World")
  • Confirm cell runs (output should be displayed)
  • Create another cell with the following cell & run it (this will kill the kernel)
import IPython  
app = IPython.Application.instance()  
app.kernel.do_shutdown(True) 
  • Go back to the first cell & try to run that.
    • Confirm it fails with errors
  • Restart the kernel using the toolbar or the command Notebook: Restart Kernel command
  • Go back to the first cell & try to run that.
    • Confirm it runs successfully & output is displayed
@DonJayamanne DonJayamanne added the bug Issue identified by VS Code Team member as probable bug label Sep 27, 2021
@DonJayamanne DonJayamanne added testplan-item and removed bug Issue identified by VS Code Team member as probable bug needs-triage labels Sep 27, 2021
@ghost ghost assigned IanMatthewHuff Sep 28, 2021
@IanMatthewHuff
Copy link
Member

Yup, scenario looks good.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants