Skip to content

Using @AutoConfigureWebTestClient prevents separate configuration of spring.test.webtestclient.timeout from taking effect#49340

Closed
jayychoi wants to merge 1 commit intospring-projects:mainfrom
jayychoi:fix/49331-auto-configure-web-test-client-timeout
Closed

Using @AutoConfigureWebTestClient prevents separate configuration of spring.test.webtestclient.timeout from taking effect#49340
jayychoi wants to merge 1 commit intospring-projects:mainfrom
jayychoi:fix/49331-auto-configure-web-test-client-timeout

Conversation

@jayychoi
Copy link
Contributor

Add @PropertyMapping(skip = Skip.ON_DEFAULT_VALUE) to the timeout attribute of @AutoConfigureWebTestClient so that external property sources such as application.properties are not blocked by the default empty string value.

Closes gh-49331

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Feb 27, 2026
@wilkinsona wilkinsona changed the title Fix @AutoConfigureWebTestClient preventing separate configuration of spring.test.webtestclient.timeout from taking effect Using @AutoConfigureWebTestClient prevents separate configuration of spring.test.webtestclient.timeout from taking effect Feb 27, 2026
@wilkinsona wilkinsona added type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged labels Feb 27, 2026
@wilkinsona wilkinsona added this to the 3.5.x milestone Feb 27, 2026
@wilkinsona wilkinsona self-assigned this Feb 27, 2026
@wilkinsona wilkinsona modified the milestones: 3.5.x, 3.5.12 Feb 27, 2026
wilkinsona pushed a commit that referenced this pull request Feb 27, 2026
See gh-49340

Signed-off-by: Jay Choi <jayyoungchoi22@gmail.com>
@wilkinsona
Copy link
Member

Thanks very much, @jayychoi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bug A general bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using @AutoConfigureWebTestClient prevents separate configuration of spring.test.webtestclient.timeout from taking effect

3 participants