summaryrefslogtreecommitdiffstats
path: root/tests/test_utils.go
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-08-10 10:05:37 +0800
committerGitHub <noreply@github.com>2023-08-10 02:05:37 +0000
commita85a8628042c788ce2b372a29ca1cefab544f1ed (patch)
tree79ed24c1e4597dd7b668435700532aeab2e29d7d /tests/test_utils.go
parent63ab92d7971e4931e98f014f2c5385d2242fa780 (diff)
downloadgitea-a85a8628042c788ce2b372a29ca1cefab544f1ed.tar.gz
gitea-a85a8628042c788ce2b372a29ca1cefab544f1ed.zip
Fix admin queue page title (#26409)
Fix #26408 ``` # locale_en-US.ini [admin] monitor.queues = Queues ``` --------- Co-authored-by: silverwind <me@silverwind.io>
Diffstat (limited to 'tests/test_utils.go')
-rw-r--r--tests/test_utils.go5
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