gnodet commented on PR #1517: URL: https://github.com/apache/cxf/pull/1517#issuecomment-4038702827
We investigated the root cause of the flaky test as @reta suggested — CXF should return consistent WSDL output rather than the test adapting to inconsistency. The issue is in `ServiceWSDLBuilder`: it uses a `HashMap` for namespace-to-prefix mapping (`ns2prefix`), which causes non-deterministic prefix assignment in generated WSDL. This leads to elements appearing with or without namespace prefixes (e.g., `<service>` vs `<wsdl:service>`) depending on `HashMap` iteration order. A fix has been submitted in #2944 (switching to `LinkedHashMap` for deterministic ordering). Once that's merged, this flaky test issue should be resolved without needing to change the test itself. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
