Windows 0.3.6 runtime preflight and update download reliability source delta; connection fixes retained; no private history or other platform changes
This commit is contained in:
@@ -68,6 +68,9 @@ internal static class UpdateSelfTest
|
||||
};
|
||||
try
|
||||
{
|
||||
report["largest_allowed_package_fits_slow_200kib_link_with_headroom"] = ClientUpdater.DefaultTotalTimeout
|
||||
>= TimeSpan.FromSeconds(200.0 * 1024 * 1024 / (200 * 1024) + 60);
|
||||
report["update_total_deadline_remains_bounded"] = ClientUpdater.DefaultTotalTimeout <= TimeSpan.FromMinutes(20);
|
||||
var bytes = RandomNumberGenerator.GetBytes(300_000); // Test data, not an executable.
|
||||
var hash = Convert.ToHexString(SHA256.HashData(bytes));
|
||||
ClientUpdateInfo Info(string digest, bool available = true) => new() {
|
||||
|
||||
Reference in New Issue
Block a user