[ 
https://issues.apache.org/jira/browse/CAMEL-18002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17535953#comment-17535953
 ] 

Claus Ibsen commented on CAMEL-18002:
-------------------------------------

Yeah thanks for spotting this Karen.

Its really weird as the pooled exchange when its released back, then its 
cleared its UoW so that if its reused later then its empty.
Also the pooled exchange are local for its own camel context only, so its weird 
that it has a knock-on effect on following tests.

If you make the test run last and isolated then it also works.

The trick to null the UoW is a clever hack.

> Camel-netty-http: Test NettyHttpSimpleUriParametersTest fails.
> --------------------------------------------------------------
>
>                 Key: CAMEL-18002
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18002
>             Project: Camel
>          Issue Type: Test
>          Components: camel-netty-http, tests
>            Reporter: Jiri Ondrusek
>            Assignee: Jiri Ondrusek
>            Priority: Major
>
> Tested with {_}OpenJDK Runtime Environment Temurin-11.0.14+9 (build 
> 11.0.14+9){_}.
> Test *NettyHttpSimpleUriParametersTest* failed with:
> {quote}[ERROR] Failures: 
> [ERROR]   NettyHttpSimpleUriParametersTest>BaseNettyTest.verifyNoLeaks:65 
> Leaks detected while running tests: 
> [Logger=io.netty.util.ResourceLeakDetector Level=ERROR Message=LEAK: 
> ByteBuf.release() was not called before it's garbage-collected. See 
> [https://netty.io/wiki/reference-counted-objects.html] for more information.
> ...
> {quote}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to