Skip to content

Extract start helper in JedisConnectionFactory integration tests#3316

Closed
l2yujw wants to merge 1 commit intospring-projects:mainfrom
l2yujw:test/jedis-factory-start-helper
Closed

Extract start helper in JedisConnectionFactory integration tests#3316
l2yujw wants to merge 1 commit intospring-projects:mainfrom
l2yujw:test/jedis-factory-start-helper

Conversation

@l2yujw
Copy link
Contributor

@l2yujw l2yujw commented Feb 22, 2026

Motivation

JedisConnectionFactoryIntegrationTests repeats afterPropertiesSet() and start() across multiple test cases.
Extracting this lifecycle setup into a helper reduces duplication and keeps the tests focused on behavior.

Changes

  • Introduced startFactory() helper to centralize factory initialization
  • Replaced repeated lifecycle setup calls with startFactory()

How to test

  • Run: ./mvnw test
  • (Optional) Run only this test: ./mvnw -Dtest=JedisConnectionFactoryIntegrationTests test

Signed-off-by: l2yuPa <jeungwon28@gmail.com>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Feb 22, 2026
@mp911de mp911de added status: declined A suggestion or change that we don't feel we should currently apply and removed status: waiting-for-triage An issue we've not yet triaged labels Feb 23, 2026
@mp911de
Copy link
Member

mp911de commented Feb 23, 2026

The change doesn't fundamentally improve the arrangement, it just polishes up a few cosmetics requiring more effort to merge it than it brings on the benefit side.

@mp911de mp911de closed this Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: declined A suggestion or change that we don't feel we should currently apply

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants