Fix TestAutoRevisionSubmission NDf
Test NDF Fix
Resolves #3255 (closed)
Original Error Message / Reason for NDF
--- FAIL: TestAutoRevisionSubmission (15.85s) storageobligations_smoke_test.go:772: revision transaction for storage obligation was not confirmed after blocks were mined
This Test would passed every time locally but would fail online every time meaning there was a timing discrepancy between running online and locally. Where the test was failing, blocks were being mined and then a
build.Retry loop would check for storage obligation conditions.
Description of Solution
I removed blocks being mined and
Flush() calls until the Test was failing locally. I think added the mining blocks and
Flush() calls back into the
build.Retry. I confirmed through print statements that the test now experiences the same conditions during the
build.Retry, meaning they both fail for the same reasons and then pass at the same retry interval.