Skip to content

Fix debug temporary functional test for mac / linux#7998

Merged
IanMatthewHuff merged 3 commits into
microsoft:masterfrom
IanMatthewHuff:dev/ianhu/fixDebugTempTest
Oct 15, 2019
Merged

Fix debug temporary functional test for mac / linux#7998
IanMatthewHuff merged 3 commits into
microsoft:masterfrom
IanMatthewHuff:dev/ianhu/fixDebugTempTest

Conversation

@IanMatthewHuff
Copy link
Copy Markdown
Member

For #7994

  • Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
  • Title summarizes what is changing
  • Has a news entry file (remember to thank yourself!)
  • Appropriate comments and documentation strings in the code
  • Has sufficient logging.
  • Has telemetry for enhancements.
  • Unit tests & system/integration tests are added/updated
  • Test plan is updated as appropriate
  • package-lock.json has been regenerated by running npm install (if dependencies have changed)
  • The wiki is updated with any design decisions/details.

const breakPromise = createDeferred<void>();
disposables.push(mockDebuggerService!.onBreakpointHit(() => breakPromise.resolve()));
const done = history.debugCode(code, '\\Untitled-1', 0, docManager.activeTextEditor);
const targetUri = Uri.file(fileName);
Copy link
Copy Markdown
Member Author

@IanMatthewHuff IanMatthewHuff Oct 15, 2019

Choose a reason for hiding this comment

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

In my last batch of functional fixes I only fixed this for windows :P. Gotta be careful about checking those Linux / Mac paths. I'm running a smoke build on this PR so I'll verify this fix before submitting. But it worked locally on my Mac.

- job: 'Test'
dependsOn: []
timeoutInMinutes: 120
timeoutInMinutes: 180
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I don't want this to be a forever thing, but I really want results to look at, and these only run nightly, so I think this is ok for now. I filed this issue here in triage to look into the time this takes. Linux / Mac finish in ~30 min.
https://github.com/microsoft/vscode-python/issues/7997

@codecov-io
Copy link
Copy Markdown

codecov-io commented Oct 15, 2019

Codecov Report

Merging #7998 into master will increase coverage by 0.31%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7998      +/-   ##
==========================================
+ Coverage   58.95%   59.26%   +0.31%     
==========================================
  Files         499      499              
  Lines       22413    22413              
  Branches     3592     3597       +5     
==========================================
+ Hits        13213    13284      +71     
+ Misses       8371     8300      -71     
  Partials      829      829
Impacted Files Coverage Δ
src/client/language/characters.ts 33.33% <0%> (+2.56%) ⬆️
src/client/common/utils/version.ts 81.48% <0%> (+3.7%) ⬆️
src/client/providers/providerUtilities.ts 88.88% <0%> (+5.55%) ⬆️
src/client/datascience/cellFactory.ts 89.65% <0%> (+13.79%) ⬆️
src/client/api.ts 92.85% <0%> (+14.28%) ⬆️
src/client/common/utils/icons.ts 100% <0%> (+16.66%) ⬆️
src/client/formatters/serviceRegistry.ts 100% <0%> (+25%) ⬆️
...t/datascience/jupyter/jupyterDataRateLimitError.ts 100% <0%> (+33.33%) ⬆️
src/client/testing/codeLenses/main.ts 77.77% <0%> (+33.33%) ⬆️
src/client/testing/serviceRegistry.ts 95.49% <0%> (+46.84%) ⬆️

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 dbabb6f...7a7fdd2. Read the comment docs.

@IanMatthewHuff
Copy link
Copy Markdown
Member Author

Per results here looks like the debug issue is resolved so submitting:
https://dev.azure.com/ms/vscode-python/_build/results?buildId=42567

@IanMatthewHuff IanMatthewHuff merged commit fa0a765 into microsoft:master Oct 15, 2019
@IanMatthewHuff IanMatthewHuff deleted the dev/ianhu/fixDebugTempTest branch October 15, 2019 21:06
@lock lock Bot locked as resolved and limited conversation to collaborators Oct 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants