Hey Chris,
We do have one, fairly basic Plc4xNettyWrapperTest which covers timeout
handling. The PR I made https://github.com/apache/plc4x/pull/822 was
spotted by this test and showed that we had behavior change.
One thing which I still haven't found answer to is how to bind lifecycle
of timeout manager with connection and how to let end user pass external
timeout manager into driver (so he can centrally track degraded operations).
Best,
Łukasz
On 17.03.2023 08:09, Christofer Dutz wrote:
Hi all,
I would like to address the timeout handling in our Java driver core next.
Unfortunately, I am a bit unsure how to address that.
Usually, I would whip up a Unit-Test that causes the error and then to fix it.
However, I don’t quite know how to produce the problem that people are
describing.
Would anyone here be able to assist me with at least that? I’m happy to do the
fixing.
I just feel uncomfortable just swapping some code out with random other code.
Chris