Skip to content

UT[mqbblp::Domain]: introduce test driver [do not merge] - #1671

Closed
678098 wants to merge 1 commit into
bloomberg:mainfrom
678098:260730_do_not_merge
Closed

UT[mqbblp::Domain]: introduce test driver [do not merge]#1671
678098 wants to merge 1 commit into
bloomberg:mainfrom
678098:260730_do_not_merge

Conversation

@678098

@678098 678098 commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Add `mqbblp_domain.t.cpp` test driver:
- `test1_breathingTest` — construct / configure / reconfigure / teardown.
- `test2_concurrentConfigureAndRegisterQueue` — one thread reconfigures continuously
while the main thread registers thousands of distinct queues, exercising the exact overlap.
- `test3_reconfigureSkipsUnregisteredQueue` — deterministically (via the mock dispatcher's
enqueueOnly mode) unregisters and destroys a queue after the reconfigure is posted but
before it runs, asserting the dispatched work skips the dead queue (weak_ptr gone) and
reconfigures the survivor exactly once — proving no raw/owning reference outlives the queue.
- `test4_concurrentProcessCommandAndRegisterQueue` — one thread issues `INFO` commands
continuously while the main thread register thousands of distinct queues, exercising
the `processCommand` overlap.

Signed-off-by: Evgeny Malygin <emalygin@bloomberg.net>
@678098 678098 changed the title UT[mqbblp::Domain]: introduce test driver UT[mqbblp::Domain]: introduce test driver [do not merge] Jul 30, 2026
@678098 678098 closed this Jul 30, 2026
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