Skip to content

Commit

Permalink
Split designers target
Browse files Browse the repository at this point in the history
to help with debugging flakiness and timeouts by making the target more
manageable.

Test: bazel test //tools/adt/idea/designer/...
Bug: N/A
Change-Id: I69b5cdebfe776703ad1923680df7c36cae0afd28

GitOrigin-RevId: f724bb18cec930cbfd7c964970a231a3a64574e4
  • Loading branch information
diegopl authored and intellij-monorepo-bot committed Jul 28, 2022
1 parent 1bf99ea commit 2b3591b
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion designer/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,20 @@ iml_module(
iml_module(
name = "intellij.android.designer.tests",
iml_files = ["intellij.android.designer.tests.iml"],
split_test_targets = {
"common": {
"test_filter": "com.android.tools.idea.common",
},
"motion": {
"test_filter": "com.android.tools.idea.uibuilder.motion",
},
"visual": {
"test_filter": "com.android.tools.idea.uibuilder.visual",
},
"designer": {
"shard_count": 4,
},
},
tags = ["no_test_windows"],
test_class = "com.android.tools.idea.DesignerTestSuite",
test_data = [
Expand All @@ -73,7 +87,6 @@ iml_module(
"//tools/base/build-system:android_gradle_plugin_runtime_dependencies",
"//tools/base/third_party/kotlin:kotlin-m2repository",
],
test_shard_count = 4,
test_srcs = ["testSrc"],
test_tags = [
"cpu:3",
Expand Down

0 comments on commit 2b3591b

Please sign in to comment.