You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
change captive-core unit tests to cleanup storage path at finish
Is it possible to change the storage paths to a tmp directory, by using os.MkdirTemp? So that tests aren't writing new files to the repo during run.
sreuland
changed the title
ingest/ledgerbackend: change captive-core unit tests to cleanup storage path at finish
ingest/ledgerbackend: change captive-core unit tests to use storage path in /tmp
Mar 16, 2022
What version are you using?
2.15.1
What did you do?
go test ./ingest/ledgerbackend/...
What did you expect to see?
no temporary test files generated during test execution in checked out repo paths
What did you see instead?
several
./ingest/ledgerbackend/captive-core-xyz/
sub-folders were created in current checked out working directoryThe text was updated successfully, but these errors were encountered: