aboutsummaryrefslogtreecommitdiffstats
path: root/modules/indexer/stats/indexer_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/indexer/stats/indexer_test.go')
-rw-r--r--modules/indexer/stats/indexer_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/indexer/stats/indexer_test.go b/modules/indexer/stats/indexer_test.go
index 8d9b4e36d9..be9c6659f1 100644
--- a/modules/indexer/stats/indexer_test.go
+++ b/modules/indexer/stats/indexer_test.go
@@ -41,7 +41,7 @@ func TestRepoStatsIndex(t *testing.T) {
err = UpdateRepoIndexer(repo)
assert.NoError(t, err)
- queue.GetManager().FlushAll(context.Background(), 5*time.Second)
+ assert.NoError(t, queue.GetManager().FlushAll(context.Background(), 5*time.Second))
status, err := repo_model.GetIndexerStatus(db.DefaultContext, repo, repo_model.RepoIndexerTypeStats)
assert.NoError(t, err)