You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Jiri Ondrusek (Jira)" <ji...@apache.org> on 2023/03/22 10:24:00 UTC

[jira] [Created] (CAMEL-19184) Camel-http: Upgrade to http 5.x broke test case using httpContext

Jiri Ondrusek created CAMEL-19184:
-------------------------------------

             Summary: Camel-http: Upgrade to http 5.x broke test case using httpContext
                 Key: CAMEL-19184
                 URL: https://issues.apache.org/jira/browse/CAMEL-19184
             Project: Camel
          Issue Type: Bug
          Components: camel-http
    Affects Versions: 4.0-M3
            Reporter: Jiri Ondrusek


During upgrading camel-quarkus to the current camel version I noticed a http test, which is failing.

I did some investigation:
 * test case using basic auhentication with`httpContext` is not part of the camel test suite
 * test is failing on camel
 * when I reverted to the revision before upgrade of http component to 5.x, test worked

Here is the commit with upgrade of http components to 5.x ([commit|https://github.com/apache/camel/commit/c33a140ce51aa9bc9a8205429b78e00a39041967])
Here is the added before the upgrade - test {*}succeeds{*}. ([branch|https://github.com/JiriOndrusek/camel/commits/http-cache-works-before-update-of-http])
Here is the same test after upgrade of http components - test {*}fails{*}. ([branch|https://github.com/JiriOndrusek/camel/commits/http-cache-test-fails-after-upgrade-of-http])

I'd suggest to add this test to the camel test suite a fix the behavior of http component (it is possible that the tested scenario has to be configured differently after upgrade. If so, migration guide should be updated)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)