[lbry] ci: cleanup claim databases for regression test
This commit is contained in:
parent
0e4f47205e
commit
369b4f6574
1 changed files with 7 additions and 0 deletions
7
btcd.go
7
btcd.go
|
@ -208,6 +208,13 @@ func removeRegressionDB(dbPath string) error {
|
|||
}
|
||||
}
|
||||
|
||||
dbPath = filepath.Join(cfg.DataDir, activeNetParams.Name, "claim_dbs")
|
||||
btcdLog.Infof("Removing regression test claim databases from '%s'", dbPath)
|
||||
err = os.RemoveAll(dbPath)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue