diff options
Diffstat (limited to 'tests/test_utils.go')
-rw-r--r-- | tests/test_utils.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test_utils.go b/tests/test_utils.go index 3bcd872d6c..6ac61db63e 100644 --- a/tests/test_utils.go +++ b/tests/test_utils.go @@ -12,7 +12,6 @@ import ( "path" "path/filepath" "testing" - "time" "code.gitea.io/gitea/models/db" packages_model "code.gitea.io/gitea/models/packages" @@ -44,8 +43,8 @@ func InitTest(requireGitea bool) { exitf("Environment variable $GITEA_ROOT not set") } - // Speedup tests that rely on the event source ticker. - setting.UI.Notification.EventSourceUpdateTime = time.Second + // TODO: Speedup tests that rely on the event source ticker, confirm whether there is any bug or failure. + // setting.UI.Notification.EventSourceUpdateTime = time.Second setting.IsInTesting = true setting.AppWorkPath = giteaRoot |