summaryrefslogtreecommitdiff
path: root/tests/functional/fixtures
Commit message (Collapse)AuthorAgeFilesLines
* chore: revert compose upgradeNejc Habjan2022-10-181-5/+0
| | | | This reverts commit f825d70e25feae8cd9da84e768ec6075edbc2200.
* refactor: pytest-docker fixturesLiora Milbaum2022-10-162-0/+30
|
* chore: bump GitLab docker image to 15.4.0-ee.0John L. Villalovos2022-09-221-1/+1
| | | | | | | | | * Use `settings.delayed_group_deletion=False` as that is the recommended method to turn off the delayed group deletion now. * Change test to look for `default` as `pages` is not mentioned in the docs[1] [1] https://docs.gitlab.com/ee/api/sidekiq_metrics.html#get-the-current-queue-metrics
* Merge pull request #2188 from python-gitlab/jlvillal/fix_functional_ciNejc Habjan2022-07-291-0/+1
|\ | | | | test: attempt to make functional test startup more reliable
| * test: attempt to make functional test startup more reliableJohn L. Villalovos2022-07-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | test(functional): bump GitLab docker image to 15.2.0-ee.0John L. Villalovos2022-07-271-1/+1
|/ | | | Use the GitLab docker image 15.2.0-ee.0 in the functional testing.
* chore: revert "test(functional): simplify token creation"Nejc Habjan2022-07-261-2/+1
| | | | This reverts commit 67ab24fe5ae10a9f8cc9122b1a08848e8927635d.
* chore: enable using GitLab EE in functional testsJohn L. Villalovos2022-07-253-3/+56
| | | | | | Enable using GitLab Enterprise Edition (EE) in the functional tests. This will allow us to add functional tests for EE only features in the functional tests.
* test(functional): simplify token creationNejc Habjan2022-07-251-0/+6
|
* chore(deps): upgrade gitlab-ce to 14.9.2-ce.0Nejc Habjan2022-04-011-1/+1
|
* test(functional): fix GitLab configuration to support paginationJohn L. Villalovos2022-02-051-1/+1
| | | | | | | | | | | | When pagination occurs python-gitlab uses the URL provided by the GitLab server to use for the next request. We had previously set the GitLab server configuraiton to say its URL was `http://gitlab.test` which is not in DNS. Set the hostname in the URL to `http://127.0.0.1:8080` which is the correct URL for the GitLab server to be accessed while doing functional tests. Closes: #1877
* test(groups): enable group transfer testsNejc Habjan2022-01-131-1/+1
|
* chore: update version in docker-compose.ymljlvillal/docker_composeJohn L. Villalovos2021-12-261-1/+1
| | | | | | | | | | | When running with docker-compose on Ubuntu 20.04 I got the error: $ docker-compose up ERROR: The Compose file './docker-compose.yml' is invalid because: networks.gitlab-network value Additional properties are not allowed ('name' was unexpected) Changing the version in the docker-compose.yml file fro '3' to '3.5' resolved the issue.
* feat(api): add support for Topics APINejc Habjan2021-12-111-1/+1
|
* test(cli): improve basic CLI coveragetest/cli-coverageNejc Habjan2021-11-272-0/+6
|
* chore(deps): upgrade gitlab-ce to 14.3.2-ce.0Nejc Habjan2021-10-081-1/+1
|
* fix: functional project service test (#1500)John Villalovos2021-06-092-3/+3
| | | chore: fix functional project service test
* test(functional): optionally keep containers running post-testsBen Brown2021-06-011-1/+1
| | | | | | Additionally updates token creation to make use of `first_or_create()`, to avoid errors from the script caused by GitLab constraints preventing duplicate tokens with the same value.
* chore: rename 'tools/functional/' to 'tests/functional/'John L. Villalovos2021-05-264-0/+57
Rename the 'tools/functional/' directory to 'tests/functional/' This makes more sense as these are functional tests and not tools. This was dicussed in: https://github.com/python-gitlab/python-gitlab/discussions/1468