Skip flaky Components test on Helix (#7488)
This commit is contained in:
parent
1c6651a1ae
commit
9ab72f6202
|
|
@ -12,6 +12,7 @@
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="$(ComponentsSharedSourceRoot)test\**\*.cs" LinkBase="Helpers" />
|
<Compile Include="$(ComponentsSharedSourceRoot)test\**\*.cs" LinkBase="Helpers" />
|
||||||
|
<Compile Include="$(SharedSourceRoot)test\SkipOnHelixAttribute.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@ using System.Threading.Tasks;
|
||||||
using Microsoft.AspNetCore.Components.Rendering;
|
using Microsoft.AspNetCore.Components.Rendering;
|
||||||
using Microsoft.AspNetCore.Components.RenderTree;
|
using Microsoft.AspNetCore.Components.RenderTree;
|
||||||
using Microsoft.AspNetCore.Components.Test.Helpers;
|
using Microsoft.AspNetCore.Components.Test.Helpers;
|
||||||
|
using Microsoft.AspNetCore.Testing.xunit;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
namespace Microsoft.AspNetCore.Components.Test
|
namespace Microsoft.AspNetCore.Components.Test
|
||||||
|
|
@ -1301,7 +1302,8 @@ namespace Microsoft.AspNetCore.Components.Test
|
||||||
Assert.Equal(1, childComponents[2].OnAfterRenderCallCount); // Disposed
|
Assert.Equal(1, childComponents[2].OnAfterRenderCallCount); // Disposed
|
||||||
}
|
}
|
||||||
|
|
||||||
[Fact]
|
[ConditionalFact]
|
||||||
|
[SkipOnHelix] // https://github.com/aspnet/AspNetCore/issues/7487
|
||||||
public async Task CanTriggerEventHandlerDisposedInEarlierPendingBatchAsync()
|
public async Task CanTriggerEventHandlerDisposedInEarlierPendingBatchAsync()
|
||||||
{
|
{
|
||||||
// This represents the scenario where the same event handler is being triggered
|
// This represents the scenario where the same event handler is being triggered
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue