Repository navigation
build: [Sample Tests 15] Add an integrationTests task that runs every module's suites - #6303
Closed
runningcode wants to merge 1 commit into
Closed
runningcode wants to merge 1 commit into
runningcode wants to merge 1 commit into
Conversation
This was referenced Oct 20, 2026
📲 Install BuildsAndroid
|
This was referenced Oct 20, 2026
Merged
Merged
Merged
Merged
Draft
This was referenced Oct 20, 2026
Draft
Open
runningcode
force-pushed
the
no/integration-tests-aggregate
branch
from
October 21, 2026 09:19
cecf268 to
d2cbac0
Compare
runningcode
force-pushed
the
no/boot2-graphql-kafka-test
branch
from
October 21, 2026 11:27
2f13c19 to
550a03b
Compare
runningcode
force-pushed
the
no/integration-tests-aggregate
branch
from
October 21, 2026 11:27
d2cbac0 to
0c845ff
Compare
runningcode
force-pushed
the
no/boot2-graphql-kafka-test
branch
from
October 22, 2026 12:40
550a03b to
b4d3cb3
Compare
runningcode
force-pushed
the
no/integration-tests-aggregate
branch
from
October 22, 2026 12:40
0c845ff to
545ef61
Compare
runningcode
force-pushed
the
no/boot2-graphql-kafka-test
branch
from
October 22, 2026 13:31
b4d3cb3 to
f67a837
Compare
runningcode
force-pushed
the
no/integration-tests-aggregate
branch
2 times, most recently
from
October 22, 2026 14:02
39df936 to
ea995a8
Compare
runningcode
force-pushed
the
no/boot2-graphql-kafka-test
branch
from
October 22, 2026 16:02
13d3112 to
c64319f
Compare
runningcode
force-pushed
the
no/integration-tests-aggregate
branch
2 times, most recently
from
October 23, 2026 08:24
20cb23c to
dc5d79e
Compare
runningcode
force-pushed
the
no/boot2-graphql-kafka-test
branch
2 times, most recently
from
October 23, 2026 08:58
be1b3a0 to
f300bc7
Compare
runningcode
force-pushed
the
no/integration-tests-aggregate
branch
2 times, most recently
from
October 23, 2026 09:35
34f896b to
922c453
Compare
runningcode
force-pushed
the
no/boot2-graphql-kafka-test
branch
from
October 23, 2026 11:51
1681bc0 to
a97923b
Compare
runningcode
force-pushed
the
no/integration-tests-aggregate
branch
from
October 23, 2026 11:51
922c453 to
99c94c8
Compare
The Spring Boot 2, 3 and 4 integration suites live in separate modules, so they are separate tasks. integrationTests runs all of them, the jakarta agent suite included, in one invocation. Each suite starts its own servers on free ports, so Gradle runs them in parallel. The suites aren't part of check; the Spring Boot matrices run them. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
runningcode
force-pushed
the
no/boot2-graphql-kafka-test
branch
from
October 23, 2026 12:48
a97923b to
d5312e0
Compare
runningcode
force-pushed
the
no/integration-tests-aggregate
branch
from
October 23, 2026 12:48
99c94c8 to
c8fb997
Compare
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Stack (Sample Tests)
main)📜 Description
Adds a root
integrationTeststask that runs every module's integration test suites in one invocation::sentry-spring-boot:integrationTest(Boot 2):sentry-spring-boot-jakarta:integrationTest(Boot 3):sentry-spring-boot-jakarta:integrationTestOtelAgent(Boot 3 with the agent):sentry-spring-boot-4:integrationTest(Boot 4)The suites live in separate modules, so they're separate tasks. Each one starts its own mock Sentry server, Spring app and Kafka broker on free ports, so they share nothing and Gradle (with
org.gradle.paralleland the configuration cache) runs them all at once.The tasks are listed explicitly rather than discovered, because the build uses configure-on-demand, and an explicit list also shows exactly what runs. New suites need adding here.
The suites aren't part of any module's
check; the Spring Boot matrices run them.💡 Motivation and Context
This gives you one command,
./gradlew integrationTests, for every Spring Boot line's integration tests. Plain./gradlew integrationTestalready matches the threeintegrationTesttasks by name, but it misses the agent suite.💚 How did you test it?
./gradlew integrationTests --dry-runselects the four suites.--rerun: 80 tests pass in 24.6s of wall time.📝 Checklist
sendDefaultPIIis enabled.🔮 Next steps
Add new suites to the list as more samples move into modules: WebFlux, OTel without the agent, and the Boot 2 and 4 agent suites.
#skip-changelog