Skip to content

Resolve TestDefragInterrupted NDF

Matthew Sevey requested to merge ndf-defrag into master

BUG FIX

Description of Bug and Fix
There is the following ndf

--- FAIL: TestDefragInterrupted (6.39s)
	defrag_test.go:254: There should be 0 outputs in the database since defrag failed but there were 36

The test had some sleeps in the test, I replaced the sleeps with build retry's.

Proof of Fix
Added for loop to help bring out NDF, loop runs test 10 times

working on #3176 (closed)

Edited by Matthew Sevey

Merge request reports