Skip to content

Add tests for redis dev services behaviour in devmode #47968

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 30, 2025

Conversation

holly-cummins
Copy link
Contributor

While working on #47610, I realised we didn't have much coverage of continuous testing and the redis dev services.

I've added tests to make sure that dev services work, and that containers are (a) updated or (b) reused when the app changes. I expected that disabling dev services would make the dev service go away, but that's not currently working, so I've disabled that test.

This comment has been minimized.

@holly-cummins holly-cummins removed the request for review from ozangunalp May 20, 2025 21:02

This comment has been minimized.

This comment has been minimized.

@holly-cummins holly-cummins force-pushed the redis-devmode-tests branch from d7fd46e to 20866b2 Compare May 21, 2025 08:20

This comment has been minimized.

@holly-cummins holly-cummins force-pushed the redis-devmode-tests branch from 20866b2 to 6ddda62 Compare May 21, 2025 08:39

This comment has been minimized.

@holly-cummins holly-cummins requested a review from ozangunalp May 21, 2025 08:59
"Expected random port 6377, but got: " + Arrays.toString(container.getPorts()));

test.modifyResourceFile("application.properties",
s -> ContinuousTestingTestUtils.appProperties("quarkus.redis.devservices.port=6377"));
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggest using the FIXED_PORT_PROPERTIES constant here.

This comment has been minimized.

This comment has been minimized.

Copy link

quarkus-bot bot commented May 22, 2025

Status for workflow Quarkus CI

This is the status report for running Quarkus CI on commit 1bdf2ef.

✅ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.

You can consult the Develocity build scans.

@holly-cummins holly-cummins requested a review from geoand May 29, 2025 09:24
@holly-cummins holly-cummins merged commit 7ff47de into quarkusio:main May 30, 2025
23 checks passed
@quarkus-bot quarkus-bot bot added this to the 3.24 - main milestone May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

3 participants