From 0adffa14707c51c85bd4fdf78627b748321127a4 Mon Sep 17 00:00:00 2001 From: Dongbo Wang Date: Mon, 11 Dec 2023 14:14:39 -0800 Subject: [PATCH] Bump `xUnit` to 2.6.3 and disable the `xUnit1031` warning (#20899) --- test/xUnit/AssemblyInfo.cs | 7 +++++++ test/xUnit/xUnit.tests.csproj | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 test/xUnit/AssemblyInfo.cs diff --git a/test/xUnit/AssemblyInfo.cs b/test/xUnit/AssemblyInfo.cs new file mode 100644 index 0000000000..7c4e92091d --- /dev/null +++ b/test/xUnit/AssemblyInfo.cs @@ -0,0 +1,7 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +using System.Diagnostics.CodeAnalysis; + +// Disable the warning 'xUnit1031': https://xunit.net/xunit.analyzers/rules/xUnit1031 +[assembly: SuppressMessage("xUnit", "xUnit1031", Justification = "Parallelization is disabled")] diff --git a/test/xUnit/xUnit.tests.csproj b/test/xUnit/xUnit.tests.csproj index 886e7f8c5e..05797dd497 100644 --- a/test/xUnit/xUnit.tests.csproj +++ b/test/xUnit/xUnit.tests.csproj @@ -23,7 +23,7 @@ - +