Skip to content

test: complete test refactor of phase 2#56

Merged
ULookup merged 30 commits into
3.0-devfrom
docs/test-architecture-design
Jul 16, 2026
Merged

test: complete test refactor of phase 2#56
ULookup merged 30 commits into
3.0-devfrom
docs/test-architecture-design

Conversation

@ULookup

@ULookup ULookup commented Jul 16, 2026

Copy link
Copy Markdown
Owner

No description provided.

ULookup and others added 30 commits July 13, 2026 15:24
…dedup/reaction

- FN-CC-02: 10 goroutines concurrent send with different client_msg_id,
  verify all 10 land in DB with unique message_ids
- FN-CC-03: Friend accept then immediate concurrent send (5 msgs),
  verify no message loss via DB count
- FN-CC-04: Concurrent ApplyUpload with same content_hash after initial
  upload, verify dedup returns identical file_id
- FN-CC-05: Two users (a+b) concurrently add same emoji reaction,
  verify get_reactions succeeds (idempotency)

All tests use real full-stack via fixture helpers (setupConv/sendMsg)
and DBVerifier.MessageCount for storage assertions. Compilation, go vet,
and gofmt all pass clean.
…test, identity/test)

C++ behavior is fully covered by Go black-box tests:
- mime/jwt/content_hash/object_key/magic -> media_test.go + auth_middleware_test.go
- s3/media_dao integration -> SC-05 MediaUploadFullFlow + FN-DC-07 MediaQuota
- identity_client -> tests/pkg/client/http.go

Root CMakeLists.txt no longer add_subdirectory(common/test).
All C++ test build targets were already commented out (FIXME 3.0).
test: complete Phase 2 media/presence/security/consistency/WS scenarios
@ULookup
ULookup merged commit 27b66b2 into 3.0-dev Jul 16, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant