Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[browser][MT] longer timeout for VFS heavy tests #105258

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

pavelsavara
Copy link
Member

@pavelsavara pavelsavara commented Jul 22, 2024

longer timeout for MT

  • System.IO.FileSystem.Tests
  • System.Private.Xml.Tests

because VFS in is in the UI thread and it's slower

Contributes to #103524
Contributes to #103623

@pavelsavara pavelsavara added arch-wasm WebAssembly architecture area-System.Runtime.InteropServices.JavaScript os-browser Browser variant of arch-wasm labels Jul 22, 2024
@pavelsavara pavelsavara added this to the 9.0.0 milestone Jul 22, 2024
@pavelsavara pavelsavara requested a review from maraf July 22, 2024 16:54
@pavelsavara pavelsavara self-assigned this Jul 22, 2024
Copy link
Contributor

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

@@ -16,6 +16,11 @@
<DefineConstants>$(DefineConstants);TARGET_BROWSER</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition="'$(TargetOS)' == 'browser' and '$(WasmEnableThreads)' == 'true'">
<!-- VSF is emulated on the UI thread and all calls are slow because they are marshaled -->
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: typo in VSF->VFS

@@ -243,6 +243,9 @@
<Command>$(HelixCommand)</Command>
<Timeout>$(_workItemTimeout)</Timeout>
<Timeout Condition="'$(Scenario)' == 'WasmTestOnNodeJS' and '%(FileName)' == 'System.Net.Http.Functional.Tests'">01:20:00</Timeout>
<!-- VSF is emulated on the UI thread and all calls are slow because they are marshaled -->
<Timeout Condition="'%(FileName)' == 'System.IO.FileSystem.Tests' and '$(WasmEnableThreads)' == 'true'">01:20:00</Timeout>
<Timeout Condition="'%(FileName)' == 'System.Private.Xml.Tests' and '$(WasmEnableThreads)' == 'true'">01:20:00</Timeout>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

curious why we need this here, is the one in the .csproj not enough?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

they are separate msbuild run. This runs once for all assemblies.

@github-actions github-actions bot locked and limited conversation to collaborators Aug 23, 2024
@pavelsavara pavelsavara deleted the browser_mt_slow_fs branch September 2, 2024 15:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-System.Runtime.InteropServices.JavaScript os-browser Browser variant of arch-wasm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants