Closed manusa closed 8 months ago
This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!
We need to add a specific test to ensure that this is not a problem again.
I can reproduce the original issue using a unit test in AbstractHttpLoggingInterceptorTest, by test do you mean a unit test or an E2E test (in kubernetes-itests)?
A black-boxed unit test that ensures the behavior (i.e. avoid mocking and verify calls to things like BufferUtil::copy
)
I see only logger
being mocked in AbstractHttpLoggingInterceptorTest. Could you please check if #5532 matches your expectations?
Description
Relates to #5250
In #5146 we removed by mistake the
copy
instruction for the consumedByteBuffer
. This has basically reintroduced the problems (https://github.com/eclipse/jkube/issues/2000, https://github.com/eclipse/jkube/issues/1950) that were originally addressed by our HttpLoggingInterceptor feature.We need to add a specific test to ensure that this is not a problem again.