Skip to content

Update test-plans script to mitigate STREAM_CLOSED errors preventing successful results#30

Merged
turuslan merged 39 commits into
qdrvm:mainfrom
bismuth01:test-plans
Jun 29, 2026
Merged

Update test-plans script to mitigate STREAM_CLOSED errors preventing successful results#30
turuslan merged 39 commits into
qdrvm:mainfrom
bismuth01:test-plans

Conversation

@bismuth01

Copy link
Copy Markdown
Contributor

The previous test-plans script was failing for 2 reasons: -

  • ping->start() was also running in dialer which pre-occupied a stream to the listener on connect which made the direct ping fail.
  • The results were currently being logged through logger which added extra information when printing to terminal. This prevented yaml parser from parsing it.

To solve this issues: -

  • ping->start() was moved to listener only logic.
  • Result output was moved from logger to direct terminal buffer.

Certain improvements: -

  • The time measured is now measured with microseconds accuracy and outputted as float in milliseconds to be compatible with the unified-testing framework.

These changes were succesful in producing results with all non-failing interop tests and the framework was also able to parse the results successfully.

NOTE: Warning ListenerManager can not negotiate protocols, STREAM_CLOSED for certain tests which is likely due to the fact that either dialer closed the stream while still being actively checking the loop for connections or listener closed the stream as soon as it sends back a ping response. Both in which case is ignorable.

bismuth01 and others added 30 commits December 20, 2025 14:58
- move reusable code to test-plans/common.hpp
- unique_ptr for redis pointers
- redis connect and commands helper functions
- TRY_OR_SL_FATAL to simplify test code
- TestTimeout accounts for elapsed time
@turuslan turuslan merged commit f773777 into qdrvm:main Jun 29, 2026
2 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.

2 participants