From 57e92f51e97ad04a7aab6ec95b230be02f948596 Mon Sep 17 00:00:00 2001 From: Tyler Bertrand Date: Fri, 16 Aug 2024 09:48:15 -0500 Subject: [PATCH] Enable test retry for Apache Samza experiment workflow --- .github/workflows/run-experiments-apache-samza.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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