Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Fix OpenCloseAnalysis test - #1056

Merged
Mikhail Arkhipov (MikhailArkhipov) merged 40 commits into
microsoft:masterfrom
MikhailArkhipov:master
May 7, 2019
Merged

Mikhail Arkhipov (MikhailArkhipov) merged 40 commits into
microsoft:masterfrom
MikhailArkhipov:master

Conversation

@MikhailArkhipov

Copy link
Copy Markdown

Broken b/c imported files were considered libraries. Copy them over so they appear as user code.

MikhailArkhipov added 30 commits March 1, 2019 09:51
This reverts commit 7ffc9db.
Comment thread src/LanguageServer/Test/RdtTests.cs Outdated
var testDataPath = TestData.GetPath(Path.Combine("TestData", "AstAnalysis"));
var testCasePath = Path.GetDirectoryName(uri.LocalPath);

var lockCount1Path = Path.Combine(testCasePath, lockCount1);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

TestData.GetTestSpecificPath(lockCount1)

Comment thread src/LanguageServer/Test/RdtTests.cs Outdated
var lockCount2Path = Path.Combine(testCasePath, lockCount2);
var lockCount3Path = Path.Combine(testCasePath, lockCount3);

File.Copy(Path.Combine(testDataPath, lockCount1), Path.Combine(testCasePath, lockCount1Path));

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lockCount1Path already contains testCasePath

@MikhailArkhipov
Mikhail Arkhipov (MikhailArkhipov) merged commit 7b36e4a into microsoft:master May 7, 2019
Jake Bailey (jakebailey) pushed a commit to jakebailey/python-language-server that referenced this pull request Nov 1, 2019
* Fix microsoft#668 (partial)

* Tests

* Revert "Tests"

This reverts commit 7ffc9db.

* Exp

* Limit concurrency

* Concurrency limit

* Drop cache after analysis

* Fix regression

* Fix test

* Fix test

* PR feedback
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