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

Modify BKTree.Lookup to pass the threshold to GetEditDistance when there will not be a need for the actual edit distance #70567

Merged

GetEditDistance has various optimizations that are used when a thresh…

357d137
Select commit
Loading
Failed to load commit list.
Merged

Modify BKTree.Lookup to pass the threshold to GetEditDistance when there will not be a need for the actual edit distance #70567

GetEditDistance has various optimizations that are used when a thresh…
357d137
Select commit
Loading
Failed to load commit list.
Build Analysis / Build Analysis failed Oct 26, 2023 in 0s

.NET Result Analysis

Details

Test Failures (9 tests failed)

🔹 [All failing tests from roslyn-integration-corehost]

    ⚠️ 4 failing tests not displayed for this pipeline due to space limitations

    Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpExtractMethod.ExtractViaCodeAction [Details] [0.60% failure rate]
    [:construction: Report test infrastructure issue] [:page_facing_up: Report test repository issue]

    Failing Configuration

    Exception Message
    Expected:
    [178..187)
    [273..282)
    Actual:
    [178..187)
    Differences:
        [178..187)
    --> [273..282)
    

    Expected: True
    Actual: False

    CallStack
       at Roslyn.Test.Utilities.AssertEx.SetEqual[T](IEnumerable`1 expected, IEnumerable`1 actual, IEqualityComparer`1 comparer, String message, String itemSeparator, Func`2 itemInspector) in /_/src/Compilers/Test/Core/Assert/AssertEx.cs:line 478
       at Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpExtractMethod.ExtractViaCodeAction() in /_/src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpExtractMethod.cs:line 161
    Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpIntelliSense.AtNamespaceLevel [Details] [5.95% failure rate]
    [:construction: Report test infrastructure issue] [:page_facing_up: Report test repository issue]

    Failing Configuration

    Data Driven SubResults
      Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpIntelliSense.AtNamespaceLevel(showCompletionInArgumentLists: True)
      Exception Message
      Assert.Equal() Failure
                   ↓ (pos 3)
      Expected: using
      Actual:   usi
                   ↑ (pos 3)
      Stack Trace
         at Microsoft.VisualStudio.IntegrationTest.Utilities.OutOfProcess.Editor_OutOfProc.Verifier.CurrentLineTextAndAssertCaretPosition(String expectedText, Boolean trimWhitespace) in /_/src/VisualStudio/IntegrationTest/TestUtilities/OutOfProcess/Editor_OutOfProc.Verifier.cs:line 86
         at Microsoft.VisualStudio.IntegrationTest.Utilities.OutOfProcess.Editor_OutOfProc.Verifier.CurrentLineText(String expectedText, Boolean assertCaretPosition, Boolean trimWhitespace) in /_/src/VisualStudio/IntegrationTest/TestUtilities/OutOfProcess/Editor_OutOfProc.Verifier.cs:line 30
         at Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpIntelliSense.AtNamespaceLevel(Boolean showCompletionInArgumentLists) in /_/src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpIntelliSense.cs:line 50
      Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpIntelliSense.AtNamespaceLevel(showCompletionInArgumentLists: False)
      Exception Message
      Assert.Equal() Failure
                   ↓ (pos 3)
      Expected: using
      Actual:   usi
                   ↑ (pos 3)
      Stack Trace
         at Microsoft.VisualStudio.IntegrationTest.Utilities.OutOfProcess.Editor_OutOfProc.Verifier.CurrentLineTextAndAssertCaretPosition(String expectedText, Boolean trimWhitespace) in /_/src/VisualStudio/IntegrationTest/TestUtilities/OutOfProcess/Editor_OutOfProc.Verifier.cs:line 86
         at Microsoft.VisualStudio.IntegrationTest.Utilities.OutOfProcess.Editor_OutOfProc.Verifier.CurrentLineText(String expectedText, Boolean assertCaretPosition, Boolean trimWhitespace) in /_/src/VisualStudio/IntegrationTest/TestUtilities/OutOfProcess/Editor_OutOfProc.Verifier.cs:line 30
         at Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpIntelliSense.AtNamespaceLevel(Boolean showCompletionInArgumentLists) in /_/src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpIntelliSense.cs:line 50
    Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpIntelliSense.CtrlAltSpace [Details] [4.34% failure rate]
    [:construction: Report test infrastructure issue] [:page_facing_up: Report test repository issue]

    Failing Configuration

    Data Driven SubResults
      Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpIntelliSense.CtrlAltSpace(showCompletionInArgumentLists: True)
      Exception Message
      Assert.True() Failure
      Expected: True
      Actual:   False
      Stack Trace
         at Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpIntelliSense.CtrlAltSpace(Boolean showCompletionInArgumentLists) in /_/src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpIntelliSense.cs:line 127
      Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpIntelliSense.CtrlAltSpace(showCompletionInArgumentLists: False)
      Exception Message
      Assert.True() Failure
      Expected: True
      Actual:   False
      Stack Trace
         at Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpIntelliSense.CtrlAltSpace(Boolean showCompletionInArgumentLists) in /_/src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpIntelliSense.cs:line 136
    Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpIntelliSense.EnsureTheCaretIsVisibleAfterALongEdit [Details] [4.15% failure rate]
    [:construction: Report test infrastructure issue] [:page_facing_up: Report test repository issue]

    Failing Configuration

    Data Driven SubResults
      Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpIntelliSense.EnsureTheCaretIsVisibleAfterALongEdit(showCompletionInArgumentLists: True)
      Exception Message
      Assert.Contains() Failure
      Not found: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa = aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
      In value:  
      public class Program
      {
          static void Main(string[] args)
          {
              var aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa = 0;
              aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa = aaa    }
      }
      Stack Trace
         at Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpIntelliSense.EnsureTheCaretIsVisibleAfterALongEdit(Boolean showCompletionInArgumentLists) in /_/src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpIntelliSense.cs:line 443
      Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpIntelliSense.EnsureTheCaretIsVisibleAfterALongEdit(showCompletionInArgumentLists: False)
      Exception Message
      Assert.Contains() Failure
      Not found: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa = aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
      In value:  
      public class Program
      {
          static void Main(string[] args)
          {
              var aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa = 0;
              aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa = aaa    }
      }
      Stack Trace
         at Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpIntelliSense.EnsureTheCaretIsVisibleAfterALongEdit(Boolean showCompletionInArgumentLists) in /_/src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpIntelliSense.cs:line 443
    Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpIntelliSense.NavigatingWithDownKey [Details] [4.11% failure rate]
    [:construction: Report test infrastructure issue] [:page_facing_up: Report test repository issue]

    Failing Configuration

    Data Driven SubResults
      Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpIntelliSense.NavigatingWithDownKey(showCompletionInArgumentLists: False)
      Exception Message
      System.AggregateException : One or more errors occurred.
      ---- System.InvalidOperationException : Expected exactly one session in the completion list, but found 0
      Stack Trace
      Server stack trace: 
         at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
         at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
         at System.Threading.Tasks.Task.Wait(CancellationToken cancellationToken)
         at Microsoft.VisualStudio.IntegrationTest.Utilities.InProcess.InProcComponent.InvokeOnUIThread[T](Func`2 action) in /_/src/VisualStudio/IntegrationTest/TestUtilities/InProcess/InProcComponent.cs:line 88
         at Microsoft.VisualStudio.IntegrationTest.Utilities.InProcess.TextViewWindow_InProc.ExecuteOnActiveView[T](Func`2 action) in /_/src/VisualStudio/IntegrationTest/TestUtilities/InProcess/TextViewWindow_InProc.cs:line 244
         at Microsoft.VisualStudio.IntegrationTest.Utilities.InProcess.TextViewWindow_InProc.GetCurrentCompletionItem() in /_/src/VisualStudio/IntegrationTest/TestUtilities/InProcess/TextViewWindow_InProc.cs:line 56
         at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
         at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
      

      Exception rethrown at [0]:
      at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
      at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
      at Microsoft.VisualStudio.IntegrationTest.Utilities.InProcess.TextViewWindow_InProc.GetCurrentCompletionItem()
      at Microsoft.VisualStudio.IntegrationTest.Utilities.OutOfProcess.Editor_OutOfProc.GetCurrentCompletionItem() in /_/src/VisualStudio/IntegrationTest/TestUtilities/OutOfProcess/Editor_OutOfProc.cs:line 91
      at Microsoft.VisualStudio.IntegrationTest.Utilities.OutOfProcess.Editor_OutOfProc.Verifier.CurrentCompletionItem(String expectedItem) in /_/src/VisualStudio/IntegrationTest/TestUtilities/OutOfProcess/Editor_OutOfProc.Verifier.cs:line 144
      at Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpIntelliSense.NavigatingWithDownKey(Boolean showCompletionInArgumentLists) in /_/src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpIntelliSense.cs:line 209
      ----- Inner Stack Trace -----
      at Microsoft.VisualStudio.IntegrationTest.Utilities.InProcess.TextViewWindow_InProc.<>c.<GetCurrentCompletionItem>b__1_0(IWpfTextView view) in /_/src/VisualStudio/IntegrationTest/TestUtilities/InProcess/TextViewWindow_InProc.cs:line 66
      at Microsoft.VisualStudio.IntegrationTest.Utilities.InProcess.TextViewWindow_InProc.<>c__DisplayClass11_0`1.<ExecuteOnActiveView>b__0(CancellationToken cancellationToken) in /_/src/VisualStudio/IntegrationTest/TestUtilities/InProcess/TextViewWindow_InProc.cs:line 247
      at Microsoft.VisualStudio.IntegrationTest.Utilities.InProcess.InProcComponent.<>c__DisplayClass7_0`1.<<InvokeOnUIThread>b__0>d.MoveNext() in /_/src/VisualStudio/IntegrationTest/TestUtilities/InProcess/InProcComponent.cs:line 85


      Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpIntelliSense.NavigatingWithDownKey(showCompletionInArgumentLists: True)
      Exception Message

      System.AggregateException : One or more errors occurred.
      ---- System.InvalidOperationException : Expected exactly one session in the completion list, but found 0

      Stack Trace


      Server stack trace:
      at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
      at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
      at System.Threading.Tasks.Task.Wait(CancellationToken cancellationToken)
      at Microsoft.VisualStudio.IntegrationTest.Utilities.InProcess.InProcComponent.InvokeOnUIThread[T](Func`2 action) in /_/src/VisualStudio/IntegrationTest/TestUtilities/InProcess/InProcComponent.cs:line 88
      at Microsoft.VisualStudio.IntegrationTest.Utilities.InProcess.TextViewWindow_InProc.ExecuteOnActiveView[T](Func`2 action) in /_/src/VisualStudio/IntegrationTest/TestUtilities/InProcess/TextViewWindow_InProc.cs:line 244
      at Microsoft.VisualStudio.IntegrationTest.Utilities.InProcess.TextViewWindow_InProc.GetCurrentCompletionItem() in /_/src/VisualStudio/IntegrationTest/TestUtilities/InProcess/TextViewWindow_InProc.cs:line 56
      at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
      at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)

      Exception rethrown at [0]:
      at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
      at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
      at Microsoft.VisualStudio.IntegrationTest.Utilities.InProcess.TextViewWindow_InProc.GetCurrentCompletionItem()
      at Microsoft.VisualStudio.IntegrationTest.Utilities.OutOfProcess.Editor_OutOfProc.GetCurrentCompletionItem() in /_/src/VisualStudio/IntegrationTest/TestUtilities/OutOfProcess/Editor_OutOfProc.cs:line 91
      at Microsoft.VisualStudio.IntegrationTest.Utilities.OutOfProcess.Editor_OutOfProc.Verifier.CurrentCompletionItem(String expectedItem) in /_/src/VisualStudio/IntegrationTest/TestUtilities/OutOfProcess/Editor_OutOfProc.Verifier.cs:line 144
      at Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpIntelliSense.NavigatingWithDownKey(Boolean showCompletionInArgumentLists) in /_/src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpIntelliSense.cs:line 209
      ----- Inner Stack Trace -----
      at Microsoft.VisualStudio.IntegrationTest.Utilities.InProcess.TextViewWindow_InProc.<>c.<GetCurrentCompletionItem>b__1_0(IWpfTextView view) in /_/src/VisualStudio/IntegrationTest/TestUtilities/InProcess/TextViewWindow_InProc.cs:line 66
      at Microsoft.VisualStudio.IntegrationTest.Utilities.InProcess.TextViewWindow_InProc.<>c__DisplayClass11_0`1.<ExecuteOnActiveView>b__0(CancellationToken cancellationToken) in /_/src/VisualStudio/IntegrationTest/TestUtilities/InProcess/TextViewWindow_InProc.cs:line 247
      at Microsoft.VisualStudio.IntegrationTest.Utilities.InProcess.InProcComponent.<>c__DisplayClass7_0`1.<<InvokeOnUIThread>b__0>d.MoveNext() in /_/src/VisualStudio/IntegrationTest/TestUtilities/InProcess/InProcComponent.cs:line 85

Was this helpful? Yes No