Skip to content

Commit 8f81456

Browse files
committed
test(functional): force delete users on reset
Timing issues between requesting group deletion and GitLab enacting that deletion resulted in errors while attempting to delete a user which was the sole owner of said group (see: test_groups). Pass the 'hard_delete' parameter to ensure user deletion.
1 parent 5226f09 commit 8f81456

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/functional/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def reset_gitlab(gl):
2323
variable.delete()
2424
for user in gl.users.list():
2525
if user.username != "root":
26-
user.delete()
26+
user.delete(hard_delete=True)
2727

2828

2929
def set_token(container, rootdir):

0 commit comments

Comments
 (0)