test: complete test refactor of phase 2#56
Merged
Conversation
…scribe-idempotent
…t/typing notifies
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.