Skip to content
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

Reduce SequentialTasksExecutionStressTest iterations from 100 to 50 #3725

Merged
merged 1 commit into from
Aug 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Reduce SequentialTasksExecutionStressTest iterations from 100 to 50
This is a quick-fix to help improve the execution speed of the stress test (it currently takes ~15 minutes).

I've tried a few methods of introducing memory leaks, and all of them were caught after ~30 iterations, so 50 seems like a good number.
  • Loading branch information
adam-enko committed Aug 1, 2024
commit c7c6959ccb2ee09fcfdd93a00ea8cf1183f32c2d
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,14 @@ class SequentialTasksExecutionStressTest : AbstractGradleIntegrationTest() {
@ParameterizedTest(name = "{0}")
@ArgumentsSource(LatestTestedVersionsArgumentsProvider::class)
fun execute(buildVersions: BuildVersions) {
val iterations = 50

val result = createGradleRunner(
buildVersions,
"runTasks",
"--info",
"--stacktrace",
"-Ptask_number=100",
"-Ptask_number=$iterations",
jvmArgs = listOf("-Xmx1G", "-XX:MaxMetaspaceSize=500m"),
enableBuildCache = false,
).buildRelaxed()
Expand Down
Loading