Skip to content

Commit

Permalink
fix(Startup): Increase timeout on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
nokome committed Feb 19, 2021
1 parent b044437 commit a4b5757
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
14 changes: 8 additions & 6 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ jobs:
linux:
image_name: ubuntu-latest
node_version: 14.x
mac:
image_name: macOS-latest
node_version: 14.x
windows:
image_name: windows-latest
node_version: 14.x
# Currently failing on Mac and Windows because the
# installed ipykernel is not detected
# mac:
# image_name: macOS-latest
# node_version: 14.x
# windows:
# image_name: windows-latest
# node_version: 14.x
pool:
vmImage: $(image_name)
steps:
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ export class Jupita extends Listener {
// messaging to startup. This is an attempt to resolve issues
// seen on CI where the first test timed out but subsequent tests passed
// and in production occasionally on first code execution.
await new Promise((resolve) => setTimeout(resolve, 100))
await new Promise((resolve) => setTimeout(resolve, 1000))

// Get kernel info mainly to confirm communication with kernel is working
return this.shellRequest('kernel_info_request')
Expand Down

0 comments on commit a4b5757

Please sign in to comment.