Skip to content

Android+NativeAOT+.NET 11: Investigate test timeouts #24271

Open

Description

@jonpryor

Current behavior 🐛

Context: #24215

The following unit tests timeout when running on Android+NativeAOT. Investigate and fix the cause of the timeout.

  • Given_BitmapSource.When_MsAppData()

    System.TimeoutException: The operation has timed out.
       at Uno.UI.RuntimeTests.Tests.Windows_UI_Xaml_Media_Imaging.Given_BitmapSource.<When_MsAppData>d__3.MoveNext()
       --- End of stack trace from previous location ---
       at Uno.UI.Samples.Tests.UnitTestsControl.<>c__DisplayClass74_2.<<ExecuteTestsForInstance>g__InvokeTestMethod|5>d.MoveNext()
    
  • Given_WebView2.When_LocalFolder_File()

    Microsoft.VisualStudio.TestTools.UnitTesting.AssertFailedException: Timed out waiting for condition to be met. When_LocalFolder_File():343
       at Private.Infrastructure.TestServices.WindowHelper.<WaitFor>d__41.MoveNext()
       --- End of stack trace from previous location ---
       at Uno.UI.RuntimeTests.Tests.Microsoft_UI_Xaml_Controls.Given_WebView2.<<When_LocalFolder_File>g__Do|7_0>d.MoveNext()
       --- End of stack trace from previous location ---
       at Uno.UI.RuntimeTests.Helpers.TestHelper.<RetryAssert>d__1.MoveNext()
       --- End of stack trace from previous location ---
       at Uno.UI.RuntimeTests.Helpers.TestHelper.<RetryAssert>d__1.MoveNext()
       --- End of stack trace from previous location ---
       at Uno.UI.RuntimeTests.Tests.Microsoft_UI_Xaml_Controls.Given_WebView2.<When_LocalFolder_File>d__7.MoveNext()
       --- End of stack trace from previous location ---
       at Uno.UI.Samples.Tests.UnitTestsControl.<>c__DisplayClass74_2.<<ExecuteTestsForInstance>g__InvokeTestMethod|5>d.MoveNext()
    

Expected behavior 🎯

No response

How to reproduce it (as minimally and precisely as possible) 🔬

No response

Workaround 🛠️

No response

Renderer 🎨

  • Skia
  • Native

Affected platforms 📱💻🖥️

No response

Uno.Sdk version (and other relevant versions) 📦

No response

IDE version 🧑‍💻

No response

Anything else we need to know? 💬

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    triage/untriaged

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions