8000 test(cli): allow up to 30 seconds for a project export · python-gitlab/python-gitlab@bdc155b · GitHub
[go: up one dir, main page]

Skip to content

Commit bdc155b

Browse files
JohnVillalovosnejch
authored andcommitted
test(cli): allow up to 30 seconds for a project export
Before we allowed a maximum of around 15 seconds for the project-export. Often times the CI was failing with this value. Change it to a maximum of around 30 seconds.
1 parent 930d4a2 commit bdc155b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/functional/cli/test_cli_projects.py

Lines changed: 1 addition & 1 deletion
< 4B12 td data-grid-cell-id="diff-f9d46e2b5549b4407c8aaf383103fef1128865f440bd5f85d56c05970b564a2d-43-43-1" data-selected="false" role="gridcell" style="background-color:var(--diffBlob-additionNum-bgColor, var(--diffBlob-addition-bgColor-num));text-align:center" tabindex="-1" valign="top" class="focusable-grid-cell diff-line-number position-relative left-side">43
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def project_export(project):
4040
time.sleep(0.5)
4141
export.refresh()
4242
count += 1
43-
if count == 30:
+
if count >= 60:
4444
raise Exception("Project export taking too much time")
4545

4646
return export

0 commit comments

Comments
 (0)
0