check for recovery file
All checks were successful
Test / Run compliance tests (pull_request) Successful in 3m47s
Test / Run unit tests (pull_request) Successful in 15m27s
Test / Run integration tests (pull_request) Successful in 28m35s

This commit is contained in:
Roy Crihfield 2023-09-28 08:38:38 +08:00
parent e668a73bbe
commit aeffc86033

View File

@ -101,10 +101,8 @@ func RunStateSnapshot(
if build() == nil { if build() == nil {
t.Fatal("expected an error") 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) ipldAppender = failingSyncedAppender(&iplds, -1)
if err := build(); err != nil { if err := build(); err != nil {
t.Fatal(err) t.Fatal(err)