0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 17:34:32 +01:00
gitea/tests
Earl Warren b1089bdafe
speed up TestEventSourceManagerRun (#26262)
- `setting.UI.Notification.EventSourceUpdateTime` is by default 10
seconds, which adds an 10 second delay before the test succeeds.
- Lower the interval to reduce it to at most 3 second delay (the code
only send events when they are at least 2 seconds old).

(cherry picked from commit 3adb9ae6009ff3ddebaed4875e086343f668ef7b)

Refs: https://codeberg.org/forgejo/forgejo/pulls/1166

Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-authored-by: Giteabot <teabot@gitea.io>
2023-08-01 17:57:11 +00:00
..
e2e Refactor web package and context package (#25298) 2023-06-18 09:59:09 +02:00
fuzz
gitea-lfs-meta
gitea-repositories-meta Add commits dropdown in PR files view and allow commit by commit review (#25528) 2023-07-28 21:18:12 +02:00
integration Introduce flex-list & flex-item elements for Gitea UI (#25790) 2023-08-01 00:13:42 +02:00
mssql.ini.tmpl Update email-setup.en-us.md (#26068) 2023-07-26 21:50:15 +08:00
mysql.ini.tmpl Update email-setup.en-us.md (#26068) 2023-07-26 21:50:15 +08:00
mysql8.ini.tmpl
pgsql.ini.tmpl Update email-setup.en-us.md (#26068) 2023-07-26 21:50:15 +08:00
sqlite.ini.tmpl Update email-setup.en-us.md (#26068) 2023-07-26 21:50:15 +08:00
test_utils.go speed up TestEventSourceManagerRun (#26262) 2023-08-01 17:57:11 +00:00