Skip to content

Commit c1cbbdf

Browse files
Try Ignoring tests that regularly fail more often (though still think it's just random based on number of tests run...)
Need to comment out as Ignore ignored... see CommunityToolkit/Tooling-Windows-Submodule#121 Related to investigation, see info in actions/runner-images#7937
1 parent 47089e8 commit c1cbbdf

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

components/Extensions/tests/DispatcherQueueExtensionTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,8 +336,9 @@ await DispatcherQueue.GetForCurrentThread().EnqueueAsync(async () =>
336336
Assert.IsNull(taskSource.Task.Exception);
337337
}
338338

339+
[Ignore]
339340
[TestCategory("DispatcherQueueExtensions")]
340-
[UIThreadTestMethod]
341+
////[UIThreadTestMethod] - TODO: https://github.com/CommunityToolkit/Tooling-Windows-Submodule/issues/121
341342
public async Task DispatcherQueueHelper_FuncOfTaskOfT_Exception()
342343
{
343344
var task = DispatcherQueue.GetForCurrentThread().EnqueueAsync(new Func<Task<int>>(() =>

components/Extensions/tests/Element/FrameworkElementExtensionsTests.RelativeAncestor.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,9 @@ public async Task FrameworkElementExtension_RelativeAncestor_FreeParentBaseline(
5959
Assert.IsFalse(textRef.IsAlive, "TextBox is still alive...");
6060
}
6161

62+
[Ignore]
6263
[TestCategory("FrameworkElementExtension")]
63-
[UIThreadTestMethod]
64+
////[UIThreadTestMethod] - TODO: https://github.com/CommunityToolkit/Tooling-Windows-Submodule/issues/121
6465
public async Task FrameworkElementExtension_RelativeAncestor_FreeParent(FrameworkElementRelativeAncestorDataTemplateTestPage page)
6566
{
6667
var list = page.FindDescendant<ListView>();
@@ -85,9 +86,9 @@ public async Task FrameworkElementExtension_RelativeAncestor_FreeParent(Framewor
8586
Assert.IsFalse(listRef.IsAlive, "ListView is still alive...");
8687
}
8788

88-
[TestCategory("FrameworkElementExtension")]
89-
[UIThreadTestMethod]
9089
[Ignore]
90+
[TestCategory("FrameworkElementExtension")]
91+
////[UIThreadTestMethod] - TODO: https://github.com/CommunityToolkit/Tooling-Windows-Submodule/issues/121
9192
public async Task FrameworkElementExtension_RelativeAncestor_FreePageNavigation()
9293
{
9394
TaskCompletionSource<bool?> taskCompletionSource = new();

0 commit comments

Comments
 (0)