Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

refactor(tests): split functional tests#1205

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
max-wittig merged 2 commits intomasterfromrefactor/split-functional-tests
Oct 9, 2020

Conversation

nejch
Copy link
Member

@nejchnejch commentedOct 8, 2020
edited
Loading

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 await_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, hopefullycloses#1033.

Also I realized when doing this that anything to do with group creation/deletion isreally slow so maybe it'll help with#1194.

@nejchnejch marked this pull request as ready for reviewOctober 8, 2020 00:26
@codecov-io
Copy link

codecov-io commentedOct 8, 2020
edited
Loading

Codecov Report

Merging#1205 intomaster willnot change coverage.
The diff coverage isn/a.

Impacted file tree graph

@@           Coverage Diff           @@##           master    #1205   +/-   ##=======================================  Coverage   77.56%   77.56%           =======================================  Files          11       11             Lines        2826     2826           =======================================  Hits         2192     2192             Misses        634      634

Continue to review full report at Codecov.

Legend -Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered byCodecov. Last update2002098...65ce026. Read thecomment docs.

Copy link
Member

@max-wittigmax-wittig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Really awesome work!

@max-wittigmax-wittig self-requested a reviewOctober 8, 2020 16:12
Copy link
Member

@max-wittigmax-wittig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Awesome work. Just a few suggestions!

@nejchnejchforce-pushed therefactor/split-functional-tests branch from524183f to65ce026CompareOctober 8, 2020 20:24
@nejchnejch requested a review frommax-wittigOctober 9, 2020 04:52
@nejch
Copy link
MemberAuthor

Awesome work. Just a few suggestions!

Thanks for the quick review Max! I pushed65ce026 to address the suggestions :)

@max-wittigmax-wittig merged commit68a4162 intomasterOct 9, 2020
@max-wittig
Copy link
Member

Very very nice!

@max-wittigmax-wittig deleted the refactor/split-functional-tests branchOctober 9, 2020 07:27
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@max-wittigmax-wittigAwaiting requested review from max-wittig

Assignees

@nejchnejch

Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Re-enable note tests and revert in 13.1 Functional tests that create/update/delete resources are flaky
3 participants
@nejch@codecov-io@max-wittig

[8]ページ先頭

©2009-2025 Movatter.jp