From 332fb0193914bb7e842d75fb893cb73c30fcda06 Mon Sep 17 00:00:00 2001 From: Ben Konyi Date: Fri, 2 Aug 2024 11:07:14 -0400 Subject: [PATCH] Revert "Update daily testing to run the entire test suite (#2468)" This reverts commit 45503e12e0543c7560abee404f9ce7942097686a. --- .github/workflows/daily_testing.yml | 8 ++++---- dwds/test/build_daemon_evaluate_test.dart | 1 + dwds/test/chrome_proxy_service_test.dart | 1 + dwds/test/expression_compiler_service_test.dart | 1 + dwds/test/frontend_server_ddc_evaluate_test.dart | 1 + dwds/test/frontend_server_evaluate_test.dart | 1 + dwds/test/instances/class_inspection_test.dart | 1 + dwds/test/instances/instance_canary_test.dart | 1 + dwds/test/instances/instance_inspection_canary_test.dart | 1 + dwds/test/instances/instance_inspection_test.dart | 1 + dwds/test/instances/instance_test.dart | 1 + dwds/test/instances/patterns_inspection_canary_test.dart | 1 + dwds/test/instances/patterns_inspection_test.dart | 1 + dwds/test/instances/record_inspection_canary_test.dart | 1 + dwds/test/instances/record_inspection_test.dart | 1 + .../instances/record_type_inspection_canary_test.dart | 1 + dwds/test/instances/record_type_inspection_test.dart | 1 + dwds/test/instances/type_inspection_canary_test.dart | 1 + dwds/test/instances/type_inspection_test.dart | 1 + dwds/test/objects_test.dart | 1 + dwds/test/reload_correctness_test.dart | 1 + dwds/test/reload_test.dart | 1 + webdev/test/installation_test.dart | 1 + 23 files changed, 26 insertions(+), 4 deletions(-) diff --git a/.github/workflows/daily_testing.yml b/.github/workflows/daily_testing.yml index 9d43fcd45..fad18be00 100644 --- a/.github/workflows/daily_testing.yml +++ b/.github/workflows/daily_testing.yml @@ -28,8 +28,8 @@ jobs: if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'" working-directory: dwds - id: dwds_daily_tests - name: "dwds; dart test" - run: "dart test" + name: "dwds; dart test --tags=daily" + run: "dart test --tags=daily" if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'" working-directory: dwds - id: webdev_pub_upgrade @@ -42,8 +42,8 @@ jobs: if: "always() && steps.webdev_pub_upgrade.conclusion == 'success'" working-directory: webdev - id: webdev_daily_tests - name: "webdev; dart test" - run: "dart test" + name: "webdev; dart test --tags=daily" + run: "dart test --tags=daily" if: "always() && steps.webdev_pub_upgrade.conclusion == 'success'" working-directory: webdev - name: "Notify failure" diff --git a/dwds/test/build_daemon_evaluate_test.dart b/dwds/test/build_daemon_evaluate_test.dart index 9dd3ebcea..a50810547 100644 --- a/dwds/test/build_daemon_evaluate_test.dart +++ b/dwds/test/build_daemon_evaluate_test.dart @@ -2,6 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +@Tags(['daily']) @TestOn('vm') @Timeout(Duration(minutes: 2)) library; diff --git a/dwds/test/chrome_proxy_service_test.dart b/dwds/test/chrome_proxy_service_test.dart index 880461bfa..68209be2e 100644 --- a/dwds/test/chrome_proxy_service_test.dart +++ b/dwds/test/chrome_proxy_service_test.dart @@ -3,6 +3,7 @@ // BSD-style license that can be found in the LICENSE file. @TestOn('vm') +@Tags(['daily']) @Timeout(Duration(minutes: 2)) library; diff --git a/dwds/test/expression_compiler_service_test.dart b/dwds/test/expression_compiler_service_test.dart index 65a7dfbf6..5f59de857 100644 --- a/dwds/test/expression_compiler_service_test.dart +++ b/dwds/test/expression_compiler_service_test.dart @@ -2,6 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +@Tags(['daily']) @TestOn('vm') @Timeout(Duration(minutes: 2)) library; diff --git a/dwds/test/frontend_server_ddc_evaluate_test.dart b/dwds/test/frontend_server_ddc_evaluate_test.dart index 78e226a77..f2358ff9c 100644 --- a/dwds/test/frontend_server_ddc_evaluate_test.dart +++ b/dwds/test/frontend_server_ddc_evaluate_test.dart @@ -2,6 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +@Tags(['daily']) @TestOn('vm') @Timeout(Duration(minutes: 5)) library; diff --git a/dwds/test/frontend_server_evaluate_test.dart b/dwds/test/frontend_server_evaluate_test.dart index b7792cd4b..f0ccd4c91 100644 --- a/dwds/test/frontend_server_evaluate_test.dart +++ b/dwds/test/frontend_server_evaluate_test.dart @@ -2,6 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +@Tags(['daily']) @TestOn('vm') @Timeout(Duration(minutes: 5)) library; diff --git a/dwds/test/instances/class_inspection_test.dart b/dwds/test/instances/class_inspection_test.dart index 5415fb21d..6f6076e1e 100644 --- a/dwds/test/instances/class_inspection_test.dart +++ b/dwds/test/instances/class_inspection_test.dart @@ -2,6 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +@Tags(['daily']) @TestOn('vm') @Timeout(Duration(minutes: 2)) library; diff --git a/dwds/test/instances/instance_canary_test.dart b/dwds/test/instances/instance_canary_test.dart index 14211a5ef..3db9d406a 100644 --- a/dwds/test/instances/instance_canary_test.dart +++ b/dwds/test/instances/instance_canary_test.dart @@ -2,6 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +@Tags(['daily']) @Timeout(Duration(minutes: 2)) library; diff --git a/dwds/test/instances/instance_inspection_canary_test.dart b/dwds/test/instances/instance_inspection_canary_test.dart index 894f974eb..453213945 100644 --- a/dwds/test/instances/instance_inspection_canary_test.dart +++ b/dwds/test/instances/instance_inspection_canary_test.dart @@ -2,6 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +@Tags(['daily']) @TestOn('vm') @Timeout(Duration(minutes: 2)) library; diff --git a/dwds/test/instances/instance_inspection_test.dart b/dwds/test/instances/instance_inspection_test.dart index 02181f573..4ed4f4909 100644 --- a/dwds/test/instances/instance_inspection_test.dart +++ b/dwds/test/instances/instance_inspection_test.dart @@ -2,6 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +@Tags(['daily']) @TestOn('vm') @Timeout(Duration(minutes: 2)) library; diff --git a/dwds/test/instances/instance_test.dart b/dwds/test/instances/instance_test.dart index 3dc1fcf58..5528eaae3 100644 --- a/dwds/test/instances/instance_test.dart +++ b/dwds/test/instances/instance_test.dart @@ -2,6 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +@Tags(['daily']) @Timeout(Duration(minutes: 2)) library; diff --git a/dwds/test/instances/patterns_inspection_canary_test.dart b/dwds/test/instances/patterns_inspection_canary_test.dart index 35099688d..81370df54 100644 --- a/dwds/test/instances/patterns_inspection_canary_test.dart +++ b/dwds/test/instances/patterns_inspection_canary_test.dart @@ -2,6 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +@Tags(['daily']) @TestOn('vm') @Timeout(Duration(minutes: 2)) library; diff --git a/dwds/test/instances/patterns_inspection_test.dart b/dwds/test/instances/patterns_inspection_test.dart index 042320d0e..864c871be 100644 --- a/dwds/test/instances/patterns_inspection_test.dart +++ b/dwds/test/instances/patterns_inspection_test.dart @@ -2,6 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +@Tags(['daily']) @TestOn('vm') @Timeout(Duration(minutes: 2)) library; diff --git a/dwds/test/instances/record_inspection_canary_test.dart b/dwds/test/instances/record_inspection_canary_test.dart index 3d26fb09b..91a49e55c 100644 --- a/dwds/test/instances/record_inspection_canary_test.dart +++ b/dwds/test/instances/record_inspection_canary_test.dart @@ -2,6 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +@Tags(['daily']) @TestOn('vm') @Timeout(Duration(minutes: 2)) library; diff --git a/dwds/test/instances/record_inspection_test.dart b/dwds/test/instances/record_inspection_test.dart index 8652484a5..d33c9f4d2 100644 --- a/dwds/test/instances/record_inspection_test.dart +++ b/dwds/test/instances/record_inspection_test.dart @@ -2,6 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +@Tags(['daily']) @TestOn('vm') @Timeout(Duration(minutes: 2)) library; diff --git a/dwds/test/instances/record_type_inspection_canary_test.dart b/dwds/test/instances/record_type_inspection_canary_test.dart index d0088bbf3..01cffdfff 100644 --- a/dwds/test/instances/record_type_inspection_canary_test.dart +++ b/dwds/test/instances/record_type_inspection_canary_test.dart @@ -2,6 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +@Tags(['daily']) @TestOn('vm') @Timeout(Duration(minutes: 2)) library; diff --git a/dwds/test/instances/record_type_inspection_test.dart b/dwds/test/instances/record_type_inspection_test.dart index 78c4244e1..ab7dfa913 100644 --- a/dwds/test/instances/record_type_inspection_test.dart +++ b/dwds/test/instances/record_type_inspection_test.dart @@ -2,6 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +@Tags(['daily']) @TestOn('vm') @Timeout(Duration(minutes: 2)) library; diff --git a/dwds/test/instances/type_inspection_canary_test.dart b/dwds/test/instances/type_inspection_canary_test.dart index 4a184da2e..9f9724639 100644 --- a/dwds/test/instances/type_inspection_canary_test.dart +++ b/dwds/test/instances/type_inspection_canary_test.dart @@ -2,6 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +@Tags(['daily']) @TestOn('vm') @Timeout(Duration(minutes: 2)) library; diff --git a/dwds/test/instances/type_inspection_test.dart b/dwds/test/instances/type_inspection_test.dart index c415122aa..8cde4afb5 100644 --- a/dwds/test/instances/type_inspection_test.dart +++ b/dwds/test/instances/type_inspection_test.dart @@ -2,6 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +@Tags(['daily']) @TestOn('vm') @Timeout(Duration(minutes: 2)) library; diff --git a/dwds/test/objects_test.dart b/dwds/test/objects_test.dart index 38df915b2..c30f3baec 100644 --- a/dwds/test/objects_test.dart +++ b/dwds/test/objects_test.dart @@ -2,6 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +@Tags(['daily']) @TestOn('vm') @Timeout(Duration(minutes: 2)) library; diff --git a/dwds/test/reload_correctness_test.dart b/dwds/test/reload_correctness_test.dart index 1f28131f3..ffc7e3564 100644 --- a/dwds/test/reload_correctness_test.dart +++ b/dwds/test/reload_correctness_test.dart @@ -2,6 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +@Tags(['daily']) @TestOn('vm') @Timeout(Duration(minutes: 5)) library; diff --git a/dwds/test/reload_test.dart b/dwds/test/reload_test.dart index 24943246a..1401da572 100644 --- a/dwds/test/reload_test.dart +++ b/dwds/test/reload_test.dart @@ -2,6 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +@Tags(['daily']) @TestOn('vm') @Timeout(Duration(minutes: 5)) library; diff --git a/webdev/test/installation_test.dart b/webdev/test/installation_test.dart index 5c649310b..d79674521 100644 --- a/webdev/test/installation_test.dart +++ b/webdev/test/installation_test.dart @@ -2,6 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +@Tags(['daily']) @Timeout(Duration(minutes: 3)) library;