Skip to content

Commit

Permalink
Work around nondeterministic completion test failures on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mhutch committed Sep 26, 2024
1 parent 5dacb62 commit 9212bb7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ public class MSBuildCommitTests : MSBuildEditorTest
{
async Task TestTypeCommands (string filename, string before, string typeChars, string after)
{
CommandServiceExtensions.EnableDebugTrace = true;
MSBuildCompletionSource.EnableDebugTrace = true;
try {
//CommandServiceExtensions.EnableDebugTrace = true;
//MSBuildCompletionSource.EnableDebugTrace = true;
//try {
await this.TestCommands (
before,
after,
Expand All @@ -31,10 +31,10 @@ await this.TestCommands (
return Task.CompletedTask;
}
);
} finally {
CommandServiceExtensions.EnableDebugTrace = false;
MSBuildCompletionSource.EnableDebugTrace = false;
}
//} finally {
// CommandServiceExtensions.EnableDebugTrace = false;
// MSBuildCompletionSource.EnableDebugTrace = false;
//}
}

[Test]
Expand Down
2 changes: 1 addition & 1 deletion MonoDevelop.Xml

0 comments on commit 9212bb7

Please sign in to comment.