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: update workflow files to uniformly distribute the test modules by time taken by each test module #615

Merged
merged 6 commits into from Apr 28, 2021

Conversation

vi3k6i5
Copy link
Contributor

@vi3k6i5 vi3k6i5 commented Apr 28, 2021

chore: update workflow files to uniformly distribute the test modules by time taken by each test module

current workflows were taking too much time to finish:

django-tests00: 188m
django-tests02: 105m
django-tests12: 284m

with a maximum time of 284m which is close to 5 hours. And sometimes this crosses 6 hours cause the PR to fail.

Changed the module distribution in test and updated django_test_suit.sh to test each module separately.

From:
django-tests0: 188m
django-tests1: 006m
django-tests2: 105m
django-tests3: 013m
django-tests4: 037m
django-tests5: 085m
django-tests6: 022m
django-tests7: 049m
django-tests8: 019m
django-tests9: 006m
django-tests10: 008m
django-tests11: 039m
django-tests12: 284m
django-tests13: 065m
django-tests14: 037m
django-tests15: 036m
django-tests16: 007m
django-tests17: 008m
django-tests18: 004m

To:
django-tests0: 17m
django-tests1: 44m
django-tests2: 34m
django-tests3: 39m
django-tests4: 25m
django-tests5: 25m
django-tests6: 30m
django-tests7: 16m
django-tests8: 33m
django-tests9: 48m

fix: lint_setup_py was failing in Kokoro is now fixed (googleapis#607)
fix: Remove un necessary file from code base (googleapis#608)
feat: move migrations test modules to run against different emulator …
@vi3k6i5 vi3k6i5 requested a review from a team as a code owner April 28, 2021 09:12
@product-auto-label product-auto-label bot added the api: spanner Issues related to the googleapis/python-spanner-django API. label Apr 28, 2021
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Apr 28, 2021
@larkee
Copy link
Contributor

larkee commented Apr 28, 2021

nit: this is not a feature. This would likely come under ci or chore

@vi3k6i5 vi3k6i5 merged commit c386123 into googleapis:master Apr 28, 2021
@vi3k6i5 vi3k6i5 changed the title feat: update workflow files to uniformly distribute the test modules by time taken by each test module chore: update workflow files to uniformly distribute the test modules by time taken by each test module Apr 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the googleapis/python-spanner-django API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants