bazel-contrib / bazel-lib

Common useful functions for writing BUILD files and Starlark macros/rules
Apache License 2.0
140 stars 90 forks source link

chore: fixup test sizes to resolve warnings #911

Closed gregmagolan closed 3 months ago

gregmagolan commented 3 months ago

Resolves:

//lib/tests:base64_tests_test_0                                          PASSED in 1.3s
  WARNING: //lib/tests:base64_tests_test_0: Test execution time (1.3s excluding execution overhead) outside of range for MODERATE tests. Consider setting timeout="short" or size="small".
//lib/tests:lists_tests_test_0                                           PASSED in 1.5s
  WARNING: //lib/tests:lists_tests_test_0: Test execution time (1.5s excluding execution overhead) outside of range for MODERATE tests. Consider setting timeout="short" or size="small".
//lib/tests:lists_tests_test_1                                           PASSED in 1.6s
  WARNING: //lib/tests:lists_tests_test_1: Test execution time (1.6s excluding execution overhead) outside of range for MODERATE tests. Consider setting timeout="short" or size="small".
//lib/tests:lists_tests_test_2                                           PASSED in 1.4s
  WARNING: //lib/tests:lists_tests_test_2: Test execution time (1.4s excluding execution overhead) outside of range for MODERATE tests. Consider setting timeout="short" or size="small".
//lib/tests:lists_tests_test_3                                           PASSED in 1.1s
  WARNING: //lib/tests:lists_tests_test_3: Test execution time (1.1s excluding execution overhead) outside of range for MODERATE tests. Consider setting timeout="short" or size="small".
//lib/tests:lists_tests_test_4                                           PASSED in 1.5s
  WARNING: //lib/tests:lists_tests_test_4: Test execution time (1.5s excluding execution overhead) outside of range for MODERATE tests. Consider setting timeout="short" or size="small".
//lib/tests:lists_tests_test_5                                           PASSED in 1.3s
  WARNING: //lib/tests:lists_tests_test_5: Test execution time (1.3s excluding execution overhead) outside of range for MODERATE tests. Consider setting timeout="short" or size="small".
//lib/tests:lists_tests_test_6                                           PASSED in 1.5s
  WARNING: //lib/tests:lists_tests_test_6: Test execution time (1.5s excluding execution overhead) outside of range for MODERATE tests. Consider setting timeout="short" or size="small".
//lib/tests:lists_tests_test_7                                           PASSED in 1.6s
  WARNING: //lib/tests:lists_tests_test_7: Test execution time (1.6s excluding execution overhead) outside of range for MODERATE tests. Consider setting timeout="short" or size="small".
//lib/tests:strings_tests_test_0                                         PASSED in 1.5s
  WARNING: //lib/tests:strings_tests_test_0: Test execution time (1.5s excluding execution overhead) outside of range for MODERATE tests. Consider setting timeout="short" or size="small".
//lib/tests:strings_tests_test_1                                         PASSED in 1.4s
  WARNING: //lib/tests:strings_tests_test_1: Test execution time (1.4s excluding execution overhead) outside of range for MODERATE tests. Consider setting timeout="short" or size="small".
//lib/tests:strings_tests_test_2                                         PASSED in 1.5s
  WARNING: //lib/tests:strings_tests_test_2: Test execution time (1.5s excluding execution overhead) outside of range for MODERATE tests. Consider setting timeout="short" or size="small".
aspect-workflows[bot] commented 3 months ago

Test

4 test targets passed

Targets
//lib/tests/copy_to_directory:case_22_test [k8-fastbuild]    256ms
//lib/tests/copy_to_directory_bin_action:test [k8-fastbuild] 165ms
//lib/tests/jq:check_stamped [k8-fastbuild]                  132ms
//lib/tests/yq:check_stamped [k8-fastbuild]                  312ms

Total test execution time was 865ms. 216 tests (98.2%) were fully cached saving 29s.


Test

e2e/copy_action

All tests were cache hits

1 test (100.0%) was fully cached saving 59ms.


Test

e2e/copy_to_directory

All tests were cache hits

6 tests (100.0%) were fully cached saving 750ms.


Test

e2e/coreutils

All tests were cache hits

4 tests (100.0%) were fully cached saving 742ms.


Test

e2e/external_copy_to_directory

All tests were cache hits

1 test (100.0%) was fully cached saving 59ms.


Test

e2e/smoke

All tests were cache hits

6 tests (100.0%) were fully cached saving 2s.


Buildifier      Format      Gazelle