Skip to content

Commit 92d24ed

Browse files
Fix Remote Certs and Remote Password tests for new notebook output format (microsoft#6626)
1 parent cdbfb77 commit 92d24ed

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

news/3 Code Health/6625.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix jupyter remote tests to respect new notebook 6.0 output format

src/test/datascience/jupyterHelpers.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ export function getIPConnectionInfo(output: string): string | undefined {
3333
return `${urlMatch[1]}://${urlMatch[2]}:${urlMatch[3]}/?token=${urlMatch[4]}`;
3434
}
3535

36-
return undefined;
36+
// In Notebook 6.0 instead of the above format it returns a single valid web address so just return that
37+
return getConnectionInfo(output);
3738
}
3839

3940
export function getConnectionInfo(output: string): string | undefined {

0 commit comments

Comments
 (0)