Skip to content

[blazor][E2E test] BootResourceCachingTest.IncrementallyUpdatesCache faster#50021

Merged
maraf merged 3 commits into
dotnet:mainfrom
pavelsavara:blazor_cache_purge_test
Aug 16, 2023
Merged

[blazor][E2E test] BootResourceCachingTest.IncrementallyUpdatesCache faster#50021
maraf merged 3 commits into
dotnet:mainfrom
pavelsavara:blazor_cache_purge_test

Conversation

@pavelsavara

Copy link
Copy Markdown
Member

The resource cache, which is in the runtime repo is now purged 10 seconds after application start by default (to not compete for CPU during startup).

PR dotnet/runtime#90264 made the delay configurable via cachedResourcesPurgeDelay.

This PR improves E2E test BootResourceCachingTest.IncrementallyUpdatesCache which is testing that the cache is being purged.

Related #49884 (comment)

This PR will need to wait for the dependency to flow in. Probably on #50019

@pavelsavara pavelsavara added area-blazor Includes: Blazor, Razor Components feature-blazor-wasm This issue is related to and / or impacts Blazor WebAssembly labels Aug 11, 2023
@pavelsavara pavelsavara added this to the 8.0 milestone Aug 11, 2023
@pavelsavara pavelsavara self-assigned this Aug 11, 2023
@pavelsavara pavelsavara requested a review from a team as a code owner August 11, 2023 11:24

@MackinnonBuck MackinnonBuck left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks great! 👍

Comment thread src/Components/test/E2ETest/Tests/BootResourceCachingTest.cs Outdated
@maraf maraf merged commit c41d451 into dotnet:main Aug 16, 2023
@ghost ghost modified the milestones: 8.0, 9.0-preview1 Aug 16, 2023
@pavelsavara pavelsavara deleted the blazor_cache_purge_test branch January 13, 2026 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-blazor Includes: Blazor, Razor Components feature-blazor-wasm This issue is related to and / or impacts Blazor WebAssembly

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants