зеркало из https://github.com/dotnet/diagnostics.git
Try fixing WriteDumpTests
This commit is contained in:
Родитель
11d8024b68
Коммит
730fb9a367
|
@ -39,7 +39,7 @@ namespace Microsoft.Diagnostics.NETCore.Client
|
|||
runner.Start(3000);
|
||||
DiagnosticsClient client = new DiagnosticsClient(runner.Pid);
|
||||
|
||||
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
|
||||
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows) && Environment.Version.ToString().StartsWith("3"))
|
||||
{
|
||||
Assert.Throws<PlatformNotSupportedException>(() => client.WriteDump(DumpType.Normal, dumpPath));
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче