diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/issue_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/integration/issue_test.go b/tests/integration/issue_test.go index 853e565b0f..ac06b487db 100644 --- a/tests/integration/issue_test.go +++ b/tests/integration/issue_test.go @@ -4,6 +4,7 @@ package integration import ( + "context" "fmt" "net/http" "net/url" @@ -99,7 +100,7 @@ func TestViewIssuesKeyword(t *testing.T) { RepoID: repo.ID, Index: 1, }) - issues.UpdateIssueIndexer(issue.ID) + issues.UpdateIssueIndexer(context.Background(), issue.ID) time.Sleep(time.Second * 1) const keyword = "first" req := NewRequestf(t, "GET", "%s/issues?q=%s", repo.Link(), keyword) |