Title: refactor(tests): split functional tests by nejch · Pull Request #1205 · python-gitlab/python-gitlab · GitHub
Open Graph Title: refactor(tests): split functional tests by nejch · Pull Request #1205 · python-gitlab/python-gitlab
X Title: refactor(tests): split functional tests by nejch · Pull Request #1205 · python-gitlab/python-gitlab
Description: Glorious copy/paste time! This just splits functional tests in the hope we get more control over weird timing failures. No attempts yet to add fixture factories which would be very useful here :P But for now, this provides a wait_for_sidekiq helper that should hopefully make it easier to solve if there are still issues. This will be a pain to review, I wish GitHub/GitLab had code move detection like Review Board :( But the file sizes should be more reasonable now: $ ls tools/functional/api/*.py | xargs wc -l | sort -h 12 tools/functional/api/test_deploy_keys.py 13 tools/functional/api/test_packages.py 36 tools/functional/api/test_deploy_tokens.py 42 tools/functional/api/test_current_user.py 46 tools/functional/api/test_clusters.py 48 tools/functional/api/test_variables.py 61 tools/functional/api/test_import_export.py 74 tools/functional/api/test_snippets.py 89 tools/functional/api/test_issues.py 96 tools/functional/api/test_merge_requests.py 126 tools/functional/api/test_repository.py 170 tools/functional/api/test_users.py 183 tools/functional/api/test_gitlab.py 190 tools/functional/api/test_groups.py 298 tools/functional/api/test_projects.py Closes #1113, #1105, #1065, hopefully closes #1033. Also I realized when doing this that anything to do with group creation/deletion is really slow so maybe it'll help with #1194.
Open Graph Description: Glorious copy/paste time! This just splits functional tests in the hope we get more control over weird timing failures. No attempts yet to add fixture factories which would be very useful here :P B...
X Description: Glorious copy/paste time! This just splits functional tests in the hope we get more control over weird timing failures. No attempts yet to add fixture factories which would be very useful here :P B...
Opengraph URL: https://github.com/python-gitlab/python-gitlab/pull/1205
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e772097d-0ef7-5da3-9977-3de72fe98dac |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9BF2:2F9F8B:B38653A:E970396:69768954 |
| html-safe-nonce | 5ebc100f6eb61805bf09d93cb7a1e86a0ee783edc015fe1aa356a6771bb40b45 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QkYyOjJGOUY4QjpCMzg2NTNBOkU5NzAzOTY6Njk3Njg5NTQiLCJ2aXNpdG9yX2lkIjoiMjYzNTAyNzY2OTgyODY2NzczMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5a7da7cd3752c8a9c710314d5c1fbe2ac89bbdbb19e1a728a50e4d5f66a5488d |
| hovercard-subject-tag | pull_request:499581711 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python-gitlab/python-gitlab/pull/1205/files |
| twitter:image | https://avatars.githubusercontent.com/u/16777978?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/16777978?s=400&v=4 |
| og:image:alt | Glorious copy/paste time! This just splits functional tests in the hope we get more control over weird timing failures. No attempts yet to add fixture factories which would be very useful here :P B... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 032152924a283b83384255d9489e7b93b54ba01da8d380b05ecd3953b3212411 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python-gitlab/python-gitlab git https://github.com/python-gitlab/python-gitlab.git |
| octolytics-dimension-user_id | 28886265 |
| octolytics-dimension-user_login | python-gitlab |
| octolytics-dimension-repository_id | 8077625 |
| octolytics-dimension-repository_nwo | python-gitlab/python-gitlab |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 8077625 |
| octolytics-dimension-repository_network_root_nwo | python-gitlab/python-gitlab |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5b577f6be6482e336e3c30e8daefa30144947b17 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width