Skip to content

Commit

Permalink
fix TestTelegramConfirmedRequest failing in GitHub Actions
Browse files Browse the repository at this point in the history
The reason is likely slow work of goroutines due to limited CPU.
  • Loading branch information
paskal committed Jun 28, 2023
1 parent 29eac12 commit e68f41b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provider/telegram_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func TestTelegramConfirmedRequest(t *testing.T) {
servedToken = resp.Token
mu.Unlock()

time.Sleep(apiPollInterval * 2)
time.Sleep(apiPollInterval * 3)

// The token should be confirmed by now
r = httptest.NewRequest("GET", fmt.Sprintf("/?token=%s", resp.Token), nil)
Expand Down

0 comments on commit e68f41b

Please sign in to comment.