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

test: attempt to make functional test startup more reliable#2188

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
nejch merged 1 commit intomainfromjlvillal/fix_functional_ci
Jul 29, 2022

Conversation

@JohnVillalovos
Copy link
Member

@JohnVillalovosJohnVillalovos commentedJul 26, 2022
edited
Loading

The functional tests have been erratic. Current theory is that we are
starting the tests before the GitLab container is fully up and
running.

  • Add checking of the Health Check[1] endpoints.
  • Add a 20 second delay after we believe it is up and running.
  • Increase timeout from 300 to 400 seconds

[1]https://docs.gitlab.com/ee/user/admin_area/monitoring/health_check.html

@JohnVillalovosJohnVillalovos marked this pull request as draftJuly 26, 2022 16:15
@JohnVillalovosJohnVillalovosforce-pushed thejlvillal/fix_functional_ci branch 5 times, most recently from0a2f2a7 to564ab74CompareJuly 26, 2022 16:43
@JohnVillalovosJohnVillalovos marked this pull request as ready for reviewJuly 26, 2022 16:43
@JohnVillalovosJohnVillalovos changed the titlewip: trying to make functional more reliabletest: attempt to make functional test startup more reliableJul 26, 2022
@JohnVillalovosJohnVillalovosforce-pushed thejlvillal/fix_functional_ci branch from564ab74 toc829b26CompareJuly 26, 2022 16:48
@JohnVillalovosJohnVillalovosforce-pushed thejlvillal/fix_functional_ci branch fromc829b26 tod349e06CompareJuly 26, 2022 23:30
@codecov-commenter
Copy link

codecov-commenter commentedJul 26, 2022
edited
Loading

Codecov Report

Merging#2188 (08f4313) intomain (8ba97aa) willincrease coverage by4.00%.
The diff coverage isn/a.

@@            Coverage Diff             @@##             main    #2188      +/-   ##==========================================+ Coverage   91.56%   95.56%   +4.00%==========================================  Files          81       81                Lines        5344     5344              ==========================================+ Hits         4893     5107     +214+ Misses        451      237     -214
FlagCoverage Δ
api_func_v481.41% <ø> (?)
cli_func_v483.06% <ø> (-0.10%)⬇️
unit87.31% <ø> (ø)

Flags with carried forward coverage won't be shown.Click here to find out more.

Impacted FilesCoverage Δ
gitlab/utils.py98.59% <0.00%> (+1.40%)⬆️
gitlab/v4/objects/members.py94.82% <0.00%> (+1.72%)⬆️
gitlab/client.py98.70% <0.00%> (+3.44%)⬆️
gitlab/types.py98.21% <0.00%> (+3.57%)⬆️
gitlab/v4/objects/notes.py94.28% <0.00%> (+3.80%)⬆️
gitlab/v4/objects/groups.py89.40% <0.00%> (+3.97%)⬆️
gitlab/v4/objects/pages.py100.00% <0.00%> (+5.00%)⬆️
gitlab/v4/objects/events.py98.73% <0.00%> (+5.06%)⬆️
gitlab/mixins.py92.30% <0.00%> (+5.49%)⬆️
gitlab/v4/objects/environments.py100.00% <0.00%> (+5.88%)⬆️
... and21 more

The functional tests have been erratic. Current theory is that we arestarting the tests before the GitLab container is fully up andrunning.  * Add checking of the Health Check[1] endpoints.  * Add a 20 second delay after we believe it is up and running.  * Increase timeout from 300 to 400 seconds[1]https://docs.gitlab.com/ee/user/admin_area/monitoring/health_check.html
@JohnVillalovosJohnVillalovosforce-pushed thejlvillal/fix_functional_ci branch from08f4313 to67508e8CompareJuly 29, 2022 15:39
@nejchnejch merged commit17414f7 intomainJul 29, 2022
@nejchnejch deleted the jlvillal/fix_functional_ci branchJuly 29, 2022 16:39
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nejchnejchnejch left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@JohnVillalovos@codecov-commenter@nejch

[8]ページ先頭

©2009-2025 Movatter.jp