You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Gradle sub-projects to enable parallel running of Kafka tests (#26153)
* add parallel number to gradle.properties
* remove unused config, attempt to configure higher parallelism for kafka tests
* Create generic task to represent Integration tests. Then, create sub-projects to enable running tests in parallel
* extend test timeout to reduce flakyness
* add comment for running locally
* run spotless
* factor kafka integration tests up a level
excludeTestsMatching "*DynamicPartitions"//admin client create partitions does not exist in kafka 0.11.0.3 and kafka sdf does not appear to work for kafka versions <2.0.1
56
+
excludeTestsMatching "*SDFResumesCorrectly"//Kafka SDF does not work for kafka versions <2.0.1
57
+
excludeTestsMatching "*StopReadingFunction"//Kafka SDF does not work for kafka versions <2.0.1
58
+
excludeTestsMatching "*WatermarkUpdateWithSparseMessages"//Kafka SDF does not work for kafka versions <2.0.1
excludeTestsMatching "*DynamicPartitions"//admin client create partitions does not exist in kafka 0.11.0.3 and kafka sdf does not appear to work for kafka versions <2.0.1
155
-
excludeTestsMatching "*SDFResumesCorrectly"//Kafka SDF does not work for kafka versions <2.0.1
156
-
excludeTestsMatching "*StopReadingFunction"//Kafka SDF does not work for kafka versions <2.0.1
157
-
excludeTestsMatching "*WatermarkUpdateWithSparseMessages"//Kafka SDF does not work for kafka versions <2.0.1
158
-
}
159
-
}
160
-
}
161
-
}
162
-
119
+
//Because this runs many integration jobs in parallel, each of which use a
120
+
//container, it can fail locally due to performance limitations on a desktop.
121
+
//To avoid this, use --max-workers=N, where N is less than half your CPUs.
122
+
//4 is a good start for parallelism without overloading your computer.
163
123
task kafkaVersionsCompatibilityTest {
164
124
group ="Verification"
165
125
description ='Runs KafkaIO with different Kafka client APIs'
0 commit comments