Skip to content

Commit 14c90fb

Browse files
dotnet-maestro-botJohn Luo
authored andcommitted
Skip model binding test due to environment changes (#10923) (#10931)
1 parent 3501a42 commit 14c90fb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Mvc/Mvc.Core/test/ModelBinding/Binders/FloatingPointTypeModelBinderTestOfT.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
using System.Globalization;
66
using System.Threading.Tasks;
77
using Microsoft.AspNetCore.Testing;
8+
using Microsoft.AspNetCore.Testing.xunit;
89
using Xunit;
910

1011
namespace Microsoft.AspNetCore.Mvc.ModelBinding.Binders
@@ -341,7 +342,8 @@ public async Task BindModel_ReturnsModel_IfAttemptedValueIsValid_ThirtyTwoThousa
341342
Assert.True(bindingContext.ModelState.ContainsKey("theModelName"));
342343
}
343344

344-
[Theory]
345+
[ConditionalTheory]
346+
[OSSkipCondition(OperatingSystems.Linux, SkipReason = "https://github.com/aspnet/AspNetCore-Internal/issues/2626")]
345347
[MemberData(nameof(ConvertibleTypeData))]
346348
public async Task BindModel_ReturnsModel_IfAttemptedValueIsValid_FrenchThirtyTwoThousandPointOne(Type destinationType)
347349
{

0 commit comments

Comments
 (0)