diff --git a/.github/workflows/run-experiments-apache-samza.yml b/.github/workflows/run-experiments-apache-samza.yml index 303d6ba..1353658 100644 --- a/.github/workflows/run-experiments-apache-samza.yml +++ b/.github/workflows/run-experiments-apache-samza.yml @@ -30,9 +30,7 @@ jobs: - name: Add git hook to exclude flaky test classes run: | mkdir ~/git-hooks - echo -e 'echo "\nproject(\":samza-core_\$scalaSuffix\") { test { filter { excludeTestsMatching \"org.apache.samza.container.TestRunLoop\"} } }" >> build.gradle\n' >> ~/git-hooks/post-checkout - echo -e 'echo "\nproject(\":samza-kafka_\$scalaSuffix\") { test { filter { excludeTestsMatching \"org.apache.samza.system.kafka.TestKafkaSystemAdminJava\" excludeTestsMatching \"org.apache.samza.system.kafka.TestKafkaSystemFactoryJava\" } } }" >> build.gradle\n' >> ~/git-hooks/post-checkout - echo -e 'echo "\nproject(\":samza-test_\$scalaSuffix\") { test { filter { excludeTestsMatching \"org.apache.samza.storage.kv.BlobStoreStateBackendIntegrationTest\" } } }" >> build.gradle\n' >> ~/git-hooks/post-checkout + echo -e 'echo "allprojects { tasks.withType(Test).configureEach { { maxRetries = 3 } }" >> build.gradle\n' >> ~/git-hooks/post-checkout chmod +x ~/git-hooks/post-checkout git config --global core.hooksPath ~/git-hooks - name: Download latest version of the validation scripts