build: make release restore reproducible
This commit is contained in:
parent
b459e0cf0c
commit
c38f6b8852
129 changed files with 16810 additions and 188 deletions
|
|
@ -217,7 +217,7 @@ public class DatConcurrencyStressTests
|
|||
private static Golden ReadRaw(DatCollection dats, FileRef r)
|
||||
{
|
||||
var db = Db(dats, r.Source);
|
||||
if (!db.TryGetFileBytes(r.Id, out byte[] bytes))
|
||||
if (!db.TryGetFileBytes(r.Id, out byte[]? bytes) || bytes is null)
|
||||
return new Golden(false, 0, 0);
|
||||
return new Golden(true, bytes.Length, Fnv(bytes));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue