spring-framework/spring-webflux
Simon Baslé d597d2e159 Fix WebClientIntegrationTest#applyAttributesToNativeRequest flaky test
For Reactor Netty and Reactor Netty 2 (with Netty 5), the attributes are
stored as an `Attribute` on the netty channel. Reactor Netty replaces
the channel with a static placeholder one once the request has been
processed and as such, capturing the native request in the test will
lead to asserting an attribute-less channel.

This change switches to capturing the `Attribute` itself, which is a
value-holder that can be asserted later on.

Closes gh-33909
2024-11-18 16:30:16 +01:00
..
src Fix WebClientIntegrationTest#applyAttributesToNativeRequest flaky test 2024-11-18 16:30:16 +01:00
spring-webflux.gradle Merge branch '6.1.x' 2024-09-18 11:21:03 +02:00