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:
Eirik Tsarpalis 2025-07-08 18:50:37 +03:00 • committed by GitHub
commit aa75f6f37e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -49,7 +49,7 @@ public class EverythingSseServerFixture : IAsyncDisposable
using var stopProcess = Process.Start(stopInfo)
?? throw new InvalidOperationException($"Could not stop process for {stopInfo.FileName} with '{stopInfo.Arguments}'.");
await stopProcess.WaitForExitAsync();
await stopProcess.WaitForExitAsync(TimeSpan.FromSeconds(10));
}
catch (Exception ex)
{
@ -60,6 +60,7 @@ public class EverythingSseServerFixture : IAsyncDisposable
private static bool CheckIsDockerAvailable()
{
#if NET
try
{
ProcessStartInfo processStartInfo = new()
@ -78,5 +79,9 @@ public class EverythingSseServerFixture : IAsyncDisposable
{
return false;
}
#else
// Do not run docker tests using .NET framework.
return false;
#endif
}
}