Add WriteStateSnapshot #15
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user