• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wboayue / rust-ibapi / 25245454759
93%

Build:
DEFAULT BRANCH: main
Ran 02 May 2026 06:09AM UTC
Jobs 1
Files 113
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 May 2026 06:07AM UTC coverage: 89.834% (+0.1%) from 89.734%
25245454759

push

github

web-flow
test(transport): sync routing tests via MemoryStream (PR 2b/5) (#475)

* test(transport): sync routing tests via MemoryStream (PR 2b/5)

Add four routing tests to transport/sync/tests.rs that exercise behaviors
MockSocket and MessageBusStub cannot reach. MockSocket pairs each write
with a scripted response (no interleaving); MessageBusStub bypasses the
dispatcher entirely. MemoryStream is the lower-level fixture: tests push
response frames freely and drive bus.dispatch() directly.

- test_request_id_correlation_with_interleaved_responses: two in-flight
  send_request subscriptions, HistogramData responses arrive in reverse
  order, each gets only its own message.
- test_order_id_correlation_with_interleaved_responses: same on the
  orders SenderHash, with OrderStatus responses.
- test_shared_channel_routing_current_time: send_shared_request for
  RequestCurrentTime receives CurrentTime via the channel mapping.
- test_dispatch_surfaces_connection_failure_after_eof: EOF on the stream
  triggers reconnect; reconnect handshake also reads EOF; dispatch
  returns ConnectionFailed and in-flight subscriptions get Shutdown.

Connection::stubbed defaults server_version to 0, keeping
parse_raw_message on the text path. Frame bodies are NUL-delimited
strings (built via a local body() helper that swaps pipes for NULs so
fixtures stay readable).

Out of scope for PR 2b: byte-level framing tests (partial reads,
multi-message coalescing) — those are byte-level concerns the
frame-level MemoryStream cannot exercise; sync framing already has
encoding round-trip coverage in test_request_*_encoding_roundtrip.
Cancel coalescing is in PR 4 (port from client/sync/tests.rs).

* test(transport): order_id cross-talk asserts + shared-channel fan-out test

Address PR 2b review nits:
- Mirror the request_id test cross-talk assertions in the order_id test
- Add fan-out test: RequestOpenOrders / RequestAllOpenOrders /
  RequestAutoOpenOrders all map to OpenOrder in CHANNEL_MAPPINGS,... (continued)

17992 of 20028 relevant lines covered (89.83%)

39.86 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25245454759.1 02 May 2026 06:09AM UTC 113
89.83
GitHub Action Run
Source Files on build 25245454759
  • Tree
  • List 113
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25245454759
  • a85f6347 on github
  • Prev Build on main (#25244645550)
  • Next Build on main (#25246327040)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc