diff options
author | John L. Villalovos <john@sodarock.com> | 2021-12-31 13:14:47 -0800 |
---|---|---|
committer | John L. Villalovos <john@sodarock.com> | 2021-12-31 13:14:47 -0800 |
commit | 67dd7b495c83911b9718aa07cb21626400992e80 (patch) | |
tree | 1e2db21a15b9359d7be613b5b9869c483300d0ca /tests/conftest.py | |
parent | 3264aa65b18f623f972be38672f085c288b82839 (diff) | |
download | gitlab-jlvillal/reset_gitlab.tar.gz |
chore: make reset_gitlab() betterjlvillal/reset_gitlab
Saw issues in the CI where reset_gitlab() would fail. It would fail to
delete the group that is created when GitLab starts up. Extending the
timeout didn't fix the issue.
Changed the code so now it will check if the item is deleted and if it
isn't it will call the delete() method again to ensure that GitLab
knows it should be deleted. Since making this change I have not been
able to reproduce the failure in reset_gitlab().
Also added some logging functionality that can be seen if logging is
turned on in pytest.
Diffstat (limited to 'tests/conftest.py')
0 files changed, 0 insertions, 0 deletions