Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Ensure working directory is an actual directory #13403

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

Merged
merged 6 commits into from
Aug 12, 2020
Merged

Conversation

rchiodo
Copy link

@rchiodo rchiodo commented Aug 12, 2020

Fixes the nightly flake hover test. Caused by my changes to set the working directory.

HA! Caught another bug with our functional tests. I love it when that happens.

@rchiodo rchiodo added the no-changelog No news entry required label Aug 12, 2020
@rchiodo rchiodo self-assigned this Aug 12, 2020
@@ -51,7 +55,7 @@ export class PythonKernelLauncherDaemon implements IDisposable {
// If we don't have a KernelDaemon here then we have an execution service and should use that to launch
const observableOutput = daemon.execModuleObservable(moduleName, moduleArgs, {
env,
cwd: workingDirectory
cwd: wdExists ? workingDirectory : process.cwd()
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't really necessary but just wanted to double check.

@codecov-commenter
Copy link

codecov-commenter commented Aug 12, 2020

Codecov Report

Merging #13403 into master will decrease coverage by 0.04%.
The diff coverage is 62.50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #13403      +/-   ##
==========================================
- Coverage   59.94%   59.90%   -0.05%     
==========================================
  Files         670      670              
  Lines       37186    37208      +22     
  Branches     5309     5312       +3     
==========================================
- Hits        22293    22288       -5     
- Misses      13771    13780       +9     
- Partials     1122     1140      +18     
Impacted Files Coverage Δ
src/client/datascience/jupyter/jupyterUtils.ts 53.12% <50.00%> (-0.45%) ⬇️
...datascience/jupyter/liveshare/hostJupyterServer.ts 12.59% <50.00%> (ø)
...atascience/kernel-launcher/kernelLauncherDaemon.ts 75.00% <100.00%> (+0.92%) ⬆️
src/client/common/utils/platform.ts 64.70% <0.00%> (-11.77%) ⬇️
src/client/datascience/crossProcessLock.ts 79.41% <0.00%> (-11.77%) ⬇️
...nt/datascience/notebookStorage/vscNotebookModel.ts 65.90% <0.00%> (-10.41%) ⬇️
src/client/linters/pydocstyle.ts 86.66% <0.00%> (-2.23%) ⬇️
src/client/datascience/debugLocationTracker.ts 76.56% <0.00%> (-1.57%) ⬇️
src/client/datascience/notebook/helpers/helpers.ts 40.88% <0.00%> (-0.93%) ⬇️
...science/notebookStorage/notebookStorageProvider.ts 50.74% <0.00%> (-0.87%) ⬇️
... and 8 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 032ebce...6edc3b9. Read the comment docs.

assert.ok(interruptedKernel, 'Kernel was not interrupted');
} else {
// Timing is too iffy for real jupyter. However we really just
// want to make sure double interrupt is supported so keep the
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sentence cuts off?

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@rchiodo rchiodo merged commit eff739c into master Aug 12, 2020
@rchiodo rchiodo deleted the rchiodo/flakey branch August 12, 2020 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog No news entry required
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants