Skip to content

Commit

Permalink
Merge branch 'main' into andersonf/join-function
Browse files Browse the repository at this point in the history
  • Loading branch information
anderson-joyle authored Nov 27, 2024
2 parents ad6c9b5 + 216c29c commit 5a184f0
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ namespace Microsoft.PowerFx.Tests.LanguageServiceProtocol
{
public partial class LanguageServerTestBase
{
// Fix this: https://github.com/microsoft/Power-Fx/issues/2755
#if false
[Fact]
public async Task TestNl2FxIsCanceledCorrectly()
{
Expand All @@ -28,7 +30,7 @@ public async Task TestNl2FxIsCanceledCorrectly()
nl2FxHandler.Nl2FxDelayTime = 800;
var payload = NL2FxMessageJson(documentUri);
using var source = new CancellationTokenSource();
source.CancelAfter(500);
source.CancelAfter(500); <-- flaky

// Act
var rawResponse = await TestServer.OnDataReceivedAsync(payload.payload, source.Token);
Expand All @@ -38,5 +40,6 @@ public async Task TestNl2FxIsCanceledCorrectly()
Assert.NotEmpty(TestServer.UnhandledExceptions);
Assert.Equal(1, nl2FxHandler.PreHandleNl2FxCallCount);
}
#endif
}
}

0 comments on commit 5a184f0

Please sign in to comment.