Skip to content
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

Wrap with tag integration tests #8116

Merged
merged 8 commits into from
Feb 14, 2023

Conversation

davidwengier
Copy link
Contributor

@davidwengier davidwengier commented Jan 11, 2023

Fixes #8077

At time of writing, one test is failing, just waiting on new images to be published for integration test runs.

@davidwengier davidwengier marked this pull request as ready for review January 13, 2023 02:43
@davidwengier davidwengier requested a review from a team as a code owner January 13, 2023 02:43
@ryanbrandenburg
Copy link
Contributor

ryanbrandenburg commented Jan 17, 2023

Under the covers you've run into the following error in the Rename tests which is polluting your other tests:

System.NullReferenceException: Object reference not set to an instance of an object.
 at Microsoft.VisualStudio.Text.Operations.SelectionState.EditToDataMap(ITextView view)
 at Microsoft.VisualStudio.Text.Operations.SelectionState..ctor(ITextView view)
 at Microsoft.VisualStudio.Text.Operations.Implementation.BeforeTextBufferChangeUndoPrimitive.Create(ITextView textView, ITextUndoHistory undoHistory)
 at Microsoft.VisualStudio.Text.Operations.Implementation.EditorOperations.AddBeforeTextBufferChangePrimitive()
 at Microsoft.VisualStudio.LanguageServer.Client.SnippetUtilities.ApplyDefaultTabStopSnippetTextEdit(JoinableTaskContext joinableTaskContext, TextEdit snippetTextEdit, SnapshotPoint triggerLocation, ITextBuffer textBuffer, ITextView textView, ITextUndoHistoryRegistry undoHistoryRegistryService, IAsyncCompletionBroker completionBroker, IOvertypeManagerFactory overtypeManagerFactory, IEditorOperationsFactoryService editorOperationsFactoryService)
 at Microsoft.VisualStudio.LanguageServer.Client.FormatOnTypeCommandHandler.<HandleOnAutoInsertAsync>d__16.MoveNext() 
--- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.VisualStudio.LanguageServer.Client.FormatOnTypeCommandHandler.
<ExecuteCommandHelperAsync>d__18.MoveNext() 
--- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.VisualStudio.Shell.VsTaskLibraryHelper.<>c__DisplayClass35_0.<<FileAndForget>b__0>d.MoveNext()

I would say to first pull latest and see if anything in my Quelling PR improves things. Then if you're still running into this reliably it's a useful case for investigating https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1715306/ and reason for them to prioritize it.

@davidwengier
Copy link
Contributor Author

Maybe I'm missing something, but when I look I see one test failing this PR, which is the "SelfClosingTag" test, and I would expect that to fail as it was a bug in web tools and the fix hasn't shipped anywhere yet. You'll have to show me how to find the "under the covers" errors, but also possibly let me know why I should care??

@ryanbrandenburg
Copy link
Contributor

Talked offline. The Rename thing is not necessarily the direct cause of the failures, but certainly doesn't make diagnosis easier.

@davidwengier
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@ryanbrandenburg
Copy link
Contributor

@davidwengier if you re-base things should be improved (we hope).

@davidwengier
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@davidwengier
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@davidwengier
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@davidwengier
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@davidwengier davidwengier merged commit 8d3ea70 into dotnet:main Feb 14, 2023
@davidwengier davidwengier deleted the WrapWithTagTests branch February 14, 2023 04:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create Wrap With Div integration test
2 participants