Enable netfx testing. (#588)
* Enable netfx testing. * Skip impacted tests and re-enable netfx testing. * Remove redundant comment. * Remove unnecessary project configuration. * Simplify test server copying.
This commit is contained in:
parent
c0440760ac
commit
aa75f6f37e
1 changed files with 1940 additions and 53 deletions
|
|
@ -606,7 +606,7 @@ public partial class McpServerBuilderExtensionsToolsTests : ClientServerTestBase
|
|||
|
||||
McpClientTool progressTool = tools.First(t => t.Name == "sends_progress_notifications");
|
||||
|
||||
TaskCompletionSource tcs = new(TaskCreationOptions.RunContinuationsAsynchronously);
|
||||
TaskCompletionSource<bool> tcs = new(TaskCreationOptions.RunContinuationsAsynchronously);
|
||||
int remainingNotifications = 10;
|
||||
|
||||
ConcurrentQueue<ProgressNotificationParams> notifications = new();
|
||||
|
|
@ -618,7 +618,7 @@ public partial class McpServerBuilderExtensionsToolsTests : ClientServerTestBase
|
|||
notifications.Enqueue(pn);
|
||||
if (Interlocked.Decrement(ref remainingNotifications) == 0)
|
||||
{
|
||||
tcs.SetResult();
|
||||
tcs.SetResult(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue