Skip to content

Replace Redis Docker image in test classes with a specific version for consistency#534

Open
matheusandre1 wants to merge 1 commit into
quarkiverse:mainfrom
matheusandre1:fix-test-redis
Open

Replace Redis Docker image in test classes with a specific version for consistency#534
matheusandre1 wants to merge 1 commit into
quarkiverse:mainfrom
matheusandre1:fix-test-redis

Conversation

@matheusandre1
Copy link
Copy Markdown
Contributor

The pull request is related to this: #533 (comment)

Adding testing and fixing the Docker image

Test Plan

  • Unit tests added/updated
  • Integration tests added/updated (if applicable)
  • Tested manually (describe below if applicable)

Manual Testing

Checklist

Before submitting this PR, please ensure:

  • I ran the full build with integration tests locally: ./mvnw clean install -DskipITs=false
  • Code follows the project's code conventions
  • Tests have been added/updated to cover the changes
  • Documentation has been updated (if user-facing changes)
  • Commit messages are clear and follow conventional commits style
  • I have read and followed the Contributing Guide
  • I have read and comply with the LLM Usage Policy (if applicable)

@matheusandre1 matheusandre1 marked this pull request as ready for review May 9, 2026 00:46
@matheusandre1 matheusandre1 requested a review from a team as a code owner May 9, 2026 00:46
Copy link
Copy Markdown
Member

@mcruzdev mcruzdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

private static final Logger LOGGER = LoggerFactory.getLogger(RedisResource.class);

static final GenericContainer<?> REDIS = new GenericContainer<>(DockerImageName.parse("redis:7"))
static final GenericContainer<?> REDIS = new GenericContainer<>(DockerImageName.parse("valkey/valkey:7.2-alpine"))
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add this image name as a system property set by mvn in this module's pom? So that we can upgrade it as part of dependabot checks.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants