Add WriteStateSnapshot #15

Merged
roysc merged 23 commits from with-iterator-tracker into main 2023-09-28 03:35:47 +00:00
Showing only changes of commit aeffc86033 - Show all commits

View File

@ -101,10 +101,8 @@ func RunStateSnapshot(
if build() == nil {
t.Fatal("expected an error")
}
require.FileExists(t, recoveryFile)
}
// Ensure we don't exceed the expected number of nodes. If we do, it implies the
// failed attempt got further than intended, and we have duplicates.
// ipldAppender = failingSyncedAppender(&iplds, len(test.Expected.IPLDs))
ipldAppender = failingSyncedAppender(&iplds, -1)
if err := build(); err != nil {
t.Fatal(err)