From 2d6074706af0feebd16e9de97e323da09ab59848 Mon Sep 17 00:00:00 2001 From: Chris LaFreniere <40371649+chlafreniere@users.noreply.github.com> Date: Thu, 17 Dec 2020 15:38:41 -0800 Subject: [PATCH] Have same connection logic for all nb int tests (#13844) --- extensions/integration-tests/setEnvironmentVariables.js | 4 ++-- extensions/integration-tests/src/test/notebook.test.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/integration-tests/setEnvironmentVariables.js b/extensions/integration-tests/setEnvironmentVariables.js index 9cd2228f53..9c019c6f55 100644 --- a/extensions/integration-tests/setEnvironmentVariables.js +++ b/extensions/integration-tests/setEnvironmentVariables.js @@ -57,7 +57,7 @@ if (!LAUNCH_OPTION) { * Below are the environment variable values that are not saved in AKV and might vary by machine */ -// Pyton for Notebooks +// Python for Notebooks // This environment variable is required by notebook tests. // How to install it: // Open ADS and run command 'Configure Python for Notebooks' command and install it to the default folder, @@ -73,7 +73,7 @@ const NOTEBOOK_PYTHON_INSTALL_PATH = path.join(os.homedir(), 'azuredatastudio-py // Environment variable value validation if (!fs.existsSync(NOTEBOOK_PYTHON_INSTALL_PATH)) { - const message = 'the specified Pyton install path does not exist.' + const message = 'the specified Python install path does not exist.' + os.EOL + 'if you have installed it, please update the NOTEBOOK_PYTHON_INSTALL_PATH variable in this script,' + os.EOL diff --git a/extensions/integration-tests/src/test/notebook.test.ts b/extensions/integration-tests/src/test/notebook.test.ts index 0b59b4f3cb..a8e902f4a4 100644 --- a/extensions/integration-tests/src/test/notebook.test.ts +++ b/extensions/integration-tests/src/test/notebook.test.ts @@ -39,7 +39,7 @@ suite('Notebook integration test suite', function () { }); test('Sql NB test @UNSTABLE@', async function () { - let notebook = await openNotebook(sqlNotebookContent, sqlKernelMetadata, this.test.title + this.invocationCount++, true); + let notebook = await openNotebook(sqlNotebookContent, sqlKernelMetadata, this.test.title + this.invocationCount++); await runCell(notebook); const expectedOutput0 = '(1 row affected)'; let cellOutputs = notebook.document.cells[0].contents.outputs;