Skip to content

CSharpNewDocumentFormatting SDK tests are flaky due to restore issues #63620

Open
@dibarbet

Description

Found and disabled in #63610 in order to upgrade to the new scouting queue.

I ported these over from the old framework along with other tests in the hopes of making them less flaky. However restore is consistently flaky / not waiting properly which causes the test to think there are errors in the error list, such as

Actual and expected values differ. Expected shown in baseline of diff:
+(Compiler) Program.cs(2, 1): error CS0103: The name 'Console' does not exist in the current context
+(Compiler) Program.cs(2, 1): error CS0518: Predefined type 'System.Object' is not defined or imported
+(Compiler) Program.cs(2, 1): error CS1729: 'object' does not contain a constructor that takes 0 arguments
+(Compiler) Program.cs(2, 19): error CS0518: Predefined type 'System.String' is not defined or imported

This does not seem to apply to other error list tests, so unlikely to be an issue with waiting for the error list. It is not repro-able locally for me even on 100 iterations.

In order to move forward with the scouting queue upgrade I have disabled these tests.

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions