From ca60271f8a3d7574266bc22e0c94a226d168bd02 Mon Sep 17 00:00:00 2001 From: Gaston Thea Date: Mon, 28 Oct 2024 14:21:04 -0300 Subject: [PATCH] Update pipeline SDK_android-client_test --- .harness/SDK_androidclient_test.yaml | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/.harness/SDK_androidclient_test.yaml b/.harness/SDK_androidclient_test.yaml index 579d102cb..ecfd18e7a 100644 --- a/.harness/SDK_androidclient_test.yaml +++ b/.harness/SDK_androidclient_test.yaml @@ -21,21 +21,32 @@ pipeline: cloneCodebase: true platform: os: Linux - arch: Arm64 + arch: Amd64 runtime: type: Cloud spec: {} execution: steps: - step: - type: Run - name: build and test - identifier: build_and_test + type: RunTests + name: gradle test + identifier: gradle_test spec: - shell: Sh - command: ./gradlew test + language: Java + buildTool: Gradle + args: test + runOnlySelectedTests: true reports: type: JUnit spec: paths: - - "*/build/test-results/.*xml" + - "**/*.xml" + enableTestSplitting: true + testSplitStrategy: TestCount + failureStrategies: + - onFailure: + errors: [] + action: + type: Retry + spec: + retryCount: 1