fix(health): evict deleted sites from the aggregator on the periodic site refresh
This commit is contained in:
@@ -27,6 +27,7 @@ public class CentralHealthReportLoopTests
|
||||
public IReadOnlyDictionary<string, SiteHealthState> GetAllSiteStates() =>
|
||||
new Dictionary<string, SiteHealthState>();
|
||||
public SiteHealthState? GetSiteState(string siteId) => null;
|
||||
public void PruneUnknownSites(IReadOnlyCollection<string> knownSiteIds) { }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -256,6 +257,7 @@ public class CentralHealthReportLoopTests
|
||||
public IReadOnlyDictionary<string, SiteHealthState> GetAllSiteStates() =>
|
||||
new Dictionary<string, SiteHealthState>();
|
||||
public SiteHealthState? GetSiteState(string siteId) => null;
|
||||
public void PruneUnknownSites(IReadOnlyCollection<string> knownSiteIds) { }
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
||||
Reference in New Issue
Block a user