seokjin0414 opened a new pull request, #2537:
URL: https://github.com/apache/iggy/pull/2537

    ## Summary
   
     - Add 6 new API tests for message retrieval to 
`consumer_timestamp_polling_scenario.rs`
     - Tests cover offset-based polling, timestamp-based polling, and message 
content verification
     - All 4 transports (TCP, QUIC, HTTP, WebSocket) pass
   
     ## New Tests
   
     | Test | Description |
     |------|-------------|
     | `test_offset_from_middle()` | Poll from middle offset (1000) and verify 
remaining messages |
     | `test_offset_beyond_end()` | Poll beyond last offset returns empty 
result |
     | `test_timestamp_from_middle()` | Poll from middle timestamp returns only 
later messages |
     | `test_timestamp_future()` | Poll with future timestamp returns empty 
result |
     | `test_message_content_verification()` | Verify message ID and payload 
integrity |
     | `test_message_headers_verification()` | Verify user headers (string, 
number, bool) |
   
     ## Test Results
   
     test 
server::general::matrix::tcp_consumer_timestamp_polling_scenario_expects ... ok
     test 
server::general::matrix::websocket_consumer_timestamp_polling_scenario_expects 
... ok
     test 
server::general::matrix::quic_consumer_timestamp_polling_scenario_expects ... ok
     test 
server::general::matrix::http_consumer_timestamp_polling_scenario_expects ... ok
   
     test result: ok. 4 passed; 0 failed
   
     ## Notes
   
     - Existing internal tests (`get_by_offset.rs`, `get_by_timestamp.rs`) are 
preserved as requested
     - New tests are added as extra API-level tests
   
     Closes #1657


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to