Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: right size tests to supress bazel warning #913

Merged
merged 1 commit into from
Aug 19, 2024
Merged

Conversation

gregmagolan
Copy link
Collaborator

@gregmagolan gregmagolan commented Aug 19, 2024

Resolves:

//lib/tests/transitions:test_go_binary_is_arm64                 (cached) PASSED in 0.1s
  WARNING: //lib/tests/transitions:test_go_binary_is_arm64: Test execution time (0.1s excluding execution overhead) outside of range for MODERATE tests. Consider setting timeout="short" or size="small".
//lib/tests/transitions:test_go_binary_is_x86_64                (cached) PASSED in 0.2s
  WARNING: //lib/tests/transitions:test_go_binary_is_x86_64: Test execution time (0.2s excluding execution overhead) outside of range for MODERATE tests. Consider setting timeout="short" or size="small".
//lib/tests/transitions:test_go_test_is_x86_64                  (cached) PASSED in 0.1s
  WARNING: //lib/tests/transitions:test_go_test_is_x86_64: Test execution time (0.1s excluding execution overhead) outside of range for MODERATE tests. Consider setting timeout="short" or size="small".
//lib/tests/transitions:test_transition_test                    (cached) PASSED in 0.0s
  WARNING: //lib/tests/transitions:test_transition_test: Test execution time (0.0s excluding execution overhead) outside of range for MODERATE tests. Consider setting timeout="short" or size="small".
//lib/tests/transitions:transitioned_go_test_x86_64             (cached) PASSED in 0.1s
  WARNING: //lib/tests/transitions:transitioned_go_test_x86_64: Test execution time (0.1s excluding execution overhead) outside of range for MODERATE tests. Consider setting timeout="short" or size="small".
...
//shlib/tests/lib_tests/assertions_tests:assert_equal_test      (cached) PASSED in 0.6s
  WARNING: //shlib/tests/lib_tests/assertions_tests:assert_equal_test: Test execution time (0.6s excluding execution overhead) outside of range for MODERATE tests. Consider setting timeout="short" or size="small".
//shlib/tests/lib_tests/assertions_tests:assert_match_test      (cached) PASSED in 0.7s
  WARNING: //shlib/tests/lib_tests/assertions_tests:assert_match_test: Test execution time (0.7s excluding execution overhead) outside of range for MODERATE tests. Consider setting timeout="short" or size="small".
//shlib/tests/lib_tests/assertions_tests:assert_no_match_test   (cached) PASSED in 0.7s
  WARNING: //shlib/tests/lib_tests/assertions_tests:assert_no_match_test: Test execution time (0.7s excluding execution overhead) outside of range for MODERATE tests. Consider setting timeout="short" or size="small".

Copy link

aspect-workflows bot commented Aug 19, 2024

Test

7 test targets passed

Targets
//lib/tests/transitions:test_go_binary_is_arm64 [k8-fastbuild]               306ms
//lib/tests/transitions:test_go_binary_is_x86_64 [k8-fastbuild]              452ms
//lib/tests/transitions:test_go_test_is_x86_64 [k8-fastbuild]                364ms
//lib/tests/transitions:test_transition_test [k8-fastbuild]                  219ms
//shlib/tests/lib_tests/assertions_tests:assert_equal_test [k8-fastbuild]    578ms
//shlib/tests/lib_tests/assertions_tests:assert_match_test [k8-fastbuild]    587ms
//shlib/tests/lib_tests/assertions_tests:assert_no_match_test [k8-fastbuild] 636ms

Total test execution time was 3s. 214 tests (96.8%) were fully cached saving 28s.


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

@gregmagolan gregmagolan enabled auto-merge (squash) August 19, 2024 22:30
@gregmagolan gregmagolan merged commit abbbd54 into main Aug 19, 2024
36 checks passed
@gregmagolan gregmagolan deleted the fix_test_sizes branch August 19, 2024 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants