Change --shards option to --shard-count
Change-Id: Idd5352efefc6b8619ca3c26e9ae3fc34de585470
diff --git a/automated/android/multinode/tradefed/tradefed-multinode.yaml b/automated/android/multinode/tradefed/tradefed-multinode.yaml
index ab327f1..ae2db8f 100644
--- a/automated/android/multinode/tradefed/tradefed-multinode.yaml
+++ b/automated/android/multinode/tradefed/tradefed-multinode.yaml
@@ -22,7 +22,7 @@
TEST_URL: "http://testdata.validation.linaro.org/cts/android-cts-7.1_r1.zip"
TEST_PARAMS: "run cts -m CtsBionicTestCases --abi arm64-v8a --disable-reboot --skip-preconditions --skip-device-info"
TEST_RETRY_PARAMS: ""
- # Determine the number of shards automatically and add the `--shards N`
+ # Determine the number of shards automatically and add the `--shard-count N`
# parameter to the CTS invocation.
TEST_PARAMS_AUTO_SHARDS: "true"
MAX_RETRIES: "10"
@@ -67,9 +67,9 @@
numShards="$(lava-role list | grep -v '^$' | wc -l)"
info_msg "Determined number of shards based on MultiNode role counts: ${numShards}"
if [ "${numShards}" -ne 1 ]; then
- TEST_PARAMS="${TEST_PARAMS} --shards ${numShards}"
+ TEST_PARAMS="${TEST_PARAMS} --shard-count ${numShards}"
if [ -n "${TEST_RETRY_PARAMS}" ]; then
- TEST_RETRY_PARAMS="${TEST_RETRY_PARAMS} --shards ${numShards}"
+ TEST_RETRY_PARAMS="${TEST_RETRY_PARAMS} --shard-count ${numShards}"
fi
fi
fi