mattermost/server
cursor[bot] 4e01dae534
Fix flaky TestPreparePostForClient/files (#36631)
The files subtest polled for post file metadata with assert.Eventually
using only a one-second total wait. Under CI load, PreparePostForClient
can take longer than that to see persisted file rows, causing intermittent
timeouts while the final assert would still pass if given time.

Tests-only change. Verified with go test -run
'^TestPreparePostForClient$/^files$' -race -count=100 locally.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Maria A Nunez <maria.nunez@mattermost.com>
2026-05-22 10:40:49 -04:00
..
bin Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
build chore(ci): upgrade Go to 1.26.3 in build container Dockerfiles (#36648) 2026-05-20 17:56:19 +03:00
channels Fix flaky TestPreparePostForClient/files (#36631) 2026-05-22 10:40:49 -04:00
cmd MM-68316: add mattermost db ping subcommand (#36406) 2026-05-21 18:46:52 +00:00
config Fix config Sanitize fields missing from desanitize, causing FakeSetting to be persisted (#36619) 2026-05-20 10:04:21 +00:00
einterfaces [MM-68400] Four plugin hooks and ChannelGuard enforcement (#36152) 2026-05-21 18:16:05 +00:00
enterprise MM-68150: Upgrade golangci-lint to v2.12.2 (#36554) 2026-05-14 17:29:37 -04:00
fips MM-65959: Add FIPS indicator to about dialog (#34463) 2025-12-11 18:37:29 -04:00
fonts Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
i18n MM-68419: Add expires_at to PAT data model and enforce expiry at token validation (#36243) 2026-05-22 10:30:30 +02:00
platform [MM-68400] Four plugin hooks and ChannelGuard enforcement (#36152) 2026-05-21 18:16:05 +00:00
public MM-68419: Add expires_at to PAT data model and enforce expiry at token validation (#36243) 2026-05-22 10:30:30 +02:00
scripts ci: invalidate poisoned shard-timing cache and guard future saves (#36568) 2026-05-14 16:01:49 +00:00
templates [MM-67859] Update license renewal and expiry email branding (#35701) 2026-04-04 20:30:36 -03:00
tests MM-68149: Upgrade to Go 1.26.2 (#36418) 2026-05-12 15:59:12 +00:00
.gitignore Update .server/gitignore to ignore all JSON files under the directory (#27593) 2024-07-11 09:12:57 +02:00
.go-version Upgrade Go to 1.26.3 (#36656) 2026-05-20 13:21:14 -03:00
.golangci.yml MM-68150: Upgrade golangci-lint to v2.12.2 (#36554) 2026-05-14 17:29:37 -04:00
.sass-lint.yml Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
AGENTS.md Add server/AGENTS.md (#35903) 2026-04-21 02:33:20 -07:00
config.mk Add Azurite to test infrastructure (#36485) 2026-05-11 12:06:59 +02:00
copyright.txt Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
docker-compose.makefile.yml Add Azurite to test infrastructure (#36485) 2026-05-11 12:06:59 +02:00
docker-compose.pgvector.yml Add pluggable AI actions menu with custom prompts extension point (#35930) 2026-04-14 18:46:20 +00:00
docker-compose.yaml MM-67668: Replace Promtail with OpenTelemetry collector (#35381) 2026-02-27 16:48:17 +01:00
go.mod MM-68151: Update server dependencies (#36571) 2026-05-20 18:20:19 -03:00
go.sum MM-68151: Update server dependencies (#36571) 2026-05-20 18:20:19 -03:00
Makefile Bumping version of prepackaged boards plugin (#36701) 2026-05-22 10:53:37 +02:00
path.go Centralize the GetPackagePath (#27004) 2024-05-15 12:05:13 -03:00