Skip to content

Commit 0a8826f

Browse files
committed
test eventsource failure
1 parent 5bae790 commit 0a8826f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/test_utils.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import (
1212
"path"
1313
"path/filepath"
1414
"testing"
15-
"time"
1615

1716
"code.gitea.io/gitea/models/db"
1817
packages_model "code.gitea.io/gitea/models/packages"
@@ -44,8 +43,8 @@ func InitTest(requireGitea bool) {
4443
exitf("Environment variable $GITEA_ROOT not set")
4544
}
4645

47-
// Speedup tests that rely on the event source ticker.
48-
setting.UI.Notification.EventSourceUpdateTime = time.Second
46+
// TODO: Speedup tests that rely on the event source ticker, confirm whether there is any bug or failure.
47+
// setting.UI.Notification.EventSourceUpdateTime = time.Second
4948

5049
setting.IsInTesting = true
5150
setting.AppWorkPath = giteaRoot

0 commit comments

Comments
 (0)