summaryrefslogtreecommitdiffstats
path: root/integrations/integration_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrations/integration_test.go')
-rw-r--r--integrations/integration_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/integrations/integration_test.go b/integrations/integration_test.go
index bfe5cef93d..4573a9cb13 100644
--- a/integrations/integration_test.go
+++ b/integrations/integration_test.go
@@ -63,6 +63,10 @@ func TestMain(m *testing.M) {
fmt.Printf("os.RemoveAll: %v\n", err)
os.Exit(1)
}
+ if err = os.RemoveAll(setting.Indexer.RepoPath); err != nil {
+ fmt.Printf("Unable to remove repo indexer: %v\n", err)
+ os.Exit(1)
+ }
os.Exit(exitCode)
}