Skip to content

Update src/Middleware/OutputCaching/test/MemoryOutputCacheStoreTests.cs

f48759b
Select commit
Loading
Failed to load commit list.
Merged

Associate tagged keys with entries so replacements are not evicted #61529

Update src/Middleware/OutputCaching/test/MemoryOutputCacheStoreTests.cs
f48759b
Select commit
Loading
Failed to load commit list.
Azure Pipelines / aspnetcore-ci succeeded May 6, 2025 in 2h 36m 28s

Build #20250501.7 had test failures

Details

Tests

  • Failed: 13 (0.00%)
  • Passed: 304,506 (98.65%)
  • Other: 4,143 (1.34%)
  • Total: 308,662

Annotations

Check failure on line 1 in Microsoft.AspNetCore.Http.ValidationsGenerator.Tests.ValidationsGeneratorTests.CanValidateTypeWithParsableProperties

See this annotation in the file changed.

@azure-pipelines azure-pipelines / aspnetcore-ci

Microsoft.AspNetCore.Http.ValidationsGenerator.Tests.ValidationsGeneratorTests.CanValidateTypeWithParsableProperties

Assert.Collection() Failure: Item comparison failure
                                                                                                                                                                                                                                         ↓ (pos 4)
Collection: [···, ["DecimalWithRange"] = ["Amount must be between 0.1 and 100.5"], ["TimeOnlyWithRequiredValue"] = ["The TimeOnlyWithRequiredValue field is required."], ["TimeSpanWithHourRange"] = ["Hours must be between 0 and 12"], ["Url"] = ["This operation is not supported for a relative URI"···], ["VersionWithRegex"] = ["Must be a valid version number (e.g. 1.0.0)"]]
Error:      Assert.Contains() Failure: Item not found in collection
            Collection: ["This operation is not supported for a relative URI"···]
            Not found:  "The field Url must be a valid URL."
            Stack Trace:
              D:_work1ssrcHttpHttp.Extensions	estValidationsGeneratorValidationsGenerator.Parsable.cs(112,0): at Microsoft.AspNetCore.Http.ValidationsGenerator.Tests.ValidationsGeneratorTests.<>c.<CanValidateTypeWithParsableProperties>b__6_6(KeyValuePair`2 error)
Raw output
   at Microsoft.AspNetCore.Http.ValidationsGenerator.Tests.ValidationsGeneratorTests.<CanValidateTypeWithParsableProperties>b__6_0(Endpoint endpoint, IServiceProvider serviceProvider) in D:\a\_work\1\s\src\Http\Http.Extensions\test\ValidationsGenerator\ValidationsGenerator.Parsable.cs:line 88
   at Microsoft.AspNetCore.Http.ValidationsGenerator.Tests.ValidationsGeneratorTestBase.VerifyEndpoint(Compilation compilation, String routePattern, Func`3 verifyFunc) in D:\a\_work\1\s\src\Http\Http.Extensions\test\ValidationsGenerator\ValidationsGeneratorTestBase.cs:line 106
   at Microsoft.AspNetCore.Http.ValidationsGenerator.Tests.ValidationsGeneratorTests.CanValidateTypeWithParsableProperties() in D:\a\_work\1\s\src\Http\Http.Extensions\test\ValidationsGenerator\ValidationsGenerator.Parsable.cs:line 65
--- End of stack trace from previous location ---

Check failure on line 1 in Microsoft.AspNetCore.Http.Extensions.Tests--net10.0.WorkItemExecution

See this annotation in the file changed.

@azure-pipelines azure-pipelines / aspnetcore-ci

Microsoft.AspNetCore.Http.Extensions.Tests--net10.0.WorkItemExecution

The Helix Work Item failed. Often this is due to a test crash. Please see the 'Artifacts' tab above for additional logs.

Check failure on line 1 in Microsoft.AspNetCore.Http.ValidationsGenerator.Tests.ValidationsGeneratorTests.CanValidateTypeWithParsableProperties

See this annotation in the file changed.

@azure-pipelines azure-pipelines / aspnetcore-ci

Microsoft.AspNetCore.Http.ValidationsGenerator.Tests.ValidationsGeneratorTests.CanValidateTypeWithParsableProperties

Assert.Collection() Failure: Item comparison failure
                                                                                                                                                                                                                                         ↓ (pos 4)
Collection: [···, ["DecimalWithRange"] = ["Amount must be between 0.1 and 100.5"], ["TimeOnlyWithRequiredValue"] = ["The TimeOnlyWithRequiredValue field is required."], ["TimeSpanWithHourRange"] = ["Hours must be between 0 and 12"], ["Url"] = ["This operation is not supported for a relative URI"···], ["VersionWithRegex"] = ["Must be a valid version number (e.g. 1.0.0)"]]
Error:      Assert.Contains() Failure: Item not found in collection
            Collection: ["This operation is not supported for a relative URI"···]
            Not found:  "The field Url must be a valid URL."
            Stack Trace:
              D:_work1ssrcHttpHttp.Extensions	estValidationsGeneratorValidationsGenerator.Parsable.cs(112,0): at Microsoft.AspNetCore.Http.ValidationsGenerator.Tests.ValidationsGeneratorTests.<>c.<CanValidateTypeWithParsableProperties>b__6_6(KeyValuePair`2 error)
Raw output
   at Microsoft.AspNetCore.Http.ValidationsGenerator.Tests.ValidationsGeneratorTests.<CanValidateTypeWithParsableProperties>b__6_0(Endpoint endpoint, IServiceProvider serviceProvider) in D:\a\_work\1\s\src\Http\Http.Extensions\test\ValidationsGenerator\ValidationsGenerator.Parsable.cs:line 88
   at Microsoft.AspNetCore.Http.ValidationsGenerator.Tests.ValidationsGeneratorTestBase.VerifyEndpoint(Compilation compilation, String routePattern, Func`3 verifyFunc) in D:\a\_work\1\s\src\Http\Http.Extensions\test\ValidationsGenerator\ValidationsGeneratorTestBase.cs:line 106
   at Microsoft.AspNetCore.Http.ValidationsGenerator.Tests.ValidationsGeneratorTests.CanValidateTypeWithParsableProperties() in D:\a\_work\1\s\src\Http\Http.Extensions\test\ValidationsGenerator\ValidationsGenerator.Parsable.cs:line 65
--- End of stack trace from previous location ---

Check failure on line 1 in Microsoft.AspNetCore.Http.Extensions.Tests--net10.0.WorkItemExecution

See this annotation in the file changed.

@azure-pipelines azure-pipelines / aspnetcore-ci

Microsoft.AspNetCore.Http.Extensions.Tests--net10.0.WorkItemExecution

The Helix Work Item failed. Often this is due to a test crash. Please see the 'Artifacts' tab above for additional logs.