arcappcompat: Add a shard for appcompat_smoke suite

It is observed that the "appcompat_smoke" suite couldn’t
complete the test runs due to the global timeout reached
error. Adding a shard will help to complete the test runs.

BUG=b:231629184
TEST=test_that --board=eve <ip-address> tast.appcompat_smoke-shard-0
test_that --board=eve <ip-address> tast.appcompat_smoke-shard-1

Change-Id: Iefd385e86bf3bbdbde74cc7509e346c95acc7f4e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/3636004
Tested-by: Meenakshi Thiyagarajan <mthiyagarajan@google.com>
Reviewed-by: Renuga Nanjappan <rnanjappan@chromium.org>
Commit-Queue: Meenakshi Thiyagarajan <mthiyagarajan@google.com>
diff --git a/server/site_tests/tast/control.appcompat_smoke b/server/site_tests/tast/control.appcompat_smoke-shard-0
similarity index 91%
copy from server/site_tests/tast/control.appcompat_smoke
copy to server/site_tests/tast/control.appcompat_smoke-shard-0
index 8f7347e..d84ec29 100644
--- a/server/site_tests/tast/control.appcompat_smoke
+++ b/server/site_tests/tast/control.appcompat_smoke-shard-0
@@ -3,7 +3,7 @@
 # found in the LICENSE file.
 
 AUTHOR = 'Chromium OS team'
-NAME = 'tast.appcompat_smoke'
+NAME = 'tast.appcompat_smoke-shard-0'
 TIME = 'SHORT'
 TEST_TYPE = 'Server'
 ATTRIBUTES = 'suite:appcompat_smoke'
@@ -30,6 +30,8 @@
                  host=hosts.create_host(machine),
                  test_exprs=['("group:appcompat" && appcompat_smoke)'],
                  ignore_test_failures=True, max_run_sec=3600,
+                 totalshards=2,
+                 shardindex=0,
                  command_args=args)
 
 parallel_simple(run, machines)
diff --git a/server/site_tests/tast/control.appcompat_smoke b/server/site_tests/tast/control.appcompat_smoke-shard-1
similarity index 91%
rename from server/site_tests/tast/control.appcompat_smoke
rename to server/site_tests/tast/control.appcompat_smoke-shard-1
index 8f7347e..bcd91d4 100644
--- a/server/site_tests/tast/control.appcompat_smoke
+++ b/server/site_tests/tast/control.appcompat_smoke-shard-1
@@ -3,7 +3,7 @@
 # found in the LICENSE file.
 
 AUTHOR = 'Chromium OS team'
-NAME = 'tast.appcompat_smoke'
+NAME = 'tast.appcompat_smoke-shard-1'
 TIME = 'SHORT'
 TEST_TYPE = 'Server'
 ATTRIBUTES = 'suite:appcompat_smoke'
@@ -30,6 +30,8 @@
                  host=hosts.create_host(machine),
                  test_exprs=['("group:appcompat" && appcompat_smoke)'],
                  ignore_test_failures=True, max_run_sec=3600,
+                 totalshards=2,
+                 shardindex=1,
                  command_args=args)
 
 parallel_simple(run, machines)