Skip to content

improve functionnal tests #896

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

Merged
merged 1 commit into from
Oct 6, 2019
Merged

improve functionnal tests #896

merged 1 commit into from
Oct 6, 2019

Conversation

jouve
Copy link
Contributor

@jouve jouve commented Oct 6, 2019

  • add a new flag -k to reuse the container
    • adapt python_test_v4 to be run multiple times
    • add reset_gitlab.py to undo changes made by python_test_v4
  • use gitlab container from gitlab
  • new check when gitlab is started (instead of long sleep)
  • simplify generate_token.py with requests-html

@max-wittig
Copy link
Member

Thank you very much @jouve. I've always wanted to improve the tests and use the GitLab container.

You may need to wait a while longer or use the healthcheck-endpoint so you can be sure that GitLab started completely.

@jouve
Copy link
Contributor Author

jouve commented Oct 6, 2019

I tried the healthcheck, unfortunatelly it works on my computer by not with travis :( so I had to put the sleep 200 again

@max-wittig
Copy link
Member

Yeah travis is frustrating :(

@max-wittig max-wittig merged commit d7d2260 into python-gitlab:master Oct 6, 2019
@max-wittig
Copy link
Member

@jouve Thanks again!

max-wittig added a commit that referenced this pull request Oct 6, 2019
max-wittig added a commit that referenced this pull request Oct 6, 2019
max-wittig added a commit that referenced this pull request Oct 6, 2019
@jouve jouve mentioned this pull request Oct 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants