You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Test failure: Microsoft.Extensions.Configuration.Test.ConfigurationTests.CreatingWritingDeletingCreatingFileWillReload #135612
Kusto has only this one failure. Other fails in this test are unrelated. Seems like real test race to me.
// Delete test file here
Assert.Null(config["JsonKey1"]);
Assert.Null(config["IniKey1"]);
Assert.Null(config["XmlKey1"]);
Assert.True(deleteToken.HasChanged); <--- this one fails
I think we first clear data, then fire token, but if test run fast enough he may check HasChanged in between clearing and token firing. Copilot analyzed bit deeper and more or less confirmed my hypothesis.
Activity
dotnet-policy-service commentedon Oct 12, 2026
Tagging subscribers to this area: @dotnet/area-extensions-configuration
See info in area-owners.md if you want to be subscribed.
mrek-msft commentedon Oct 15, 2026
Kusto has only this one failure. Other fails in this test are unrelated. Seems like real test race to me.
I think we first clear data, then fire token, but if test run fast enough he may check HasChanged in between clearing and token firing. Copilot analyzed bit deeper and more or less confirmed my hypothesis.
Fix MECFG test race when checking token fired too soon. (dotnet#135918)