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 jupyterlab test timeouts #1823

Merged
merged 1 commit into from
May 26, 2022
Merged

Fix jupyterlab test timeouts #1823

merged 1 commit into from
May 26, 2022

Conversation

texodus
Copy link
Member

@texodus texodus commented May 26, 2022

I believe this fixes the persistent Jupyter test failures which have plagued our CI recently, though the nature of intermittent test failures on CI means I cannot be certain.

Replaces an arbitrary timeout with a waitForSelector() that tests for the presence of an "idle" kernel before executing a keyboard command to run Jupyter cells. Though I am not sure this was the source of the timeout on CI, removing this 1000ms timeout consistently failed these tests, and in non-headless mode I observed instances of the keyboard commands firing before the kernel reported "idle".

@texodus texodus added internal Internal refactoring and code quality improvement and removed cla-present labels May 26, 2022
@texodus texodus merged commit 7713d97 into master May 26, 2022
@texodus texodus deleted the jlab-test-fix branch May 26, 2022 04:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Internal refactoring and code quality improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant