[lbry] ci: cleanup claim databases for regression test

This commit is contained in:
Roy Lee 2021-08-20 12:25:52 -04:00
parent 0e4f47205e
commit 369b4f6574

View file

@ -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
}