Merge "gerrit: test reviewed flag add/delete/add cycle"

This commit is contained in:
Zuul 2021-11-17 20:33:42 +00:00 committed by Gerrit Code Review
commit 0a279742fc
1 changed files with 9 additions and 2 deletions

View File

@ -252,13 +252,20 @@
- 2
- 3
# NOTE(ianw) we do an add/delete/add cycle as we've seen issues
# with duplicate updates causing problems before; e.g.
# https://gerrit-review.googlesource.com/c/gerrit/+/312602
- name: Post a file review to confirm accountPatchDb connection
uri:
url: 'http://localhost:8081/a/changes/y%2Ftestproject~1/revisions/1/files/file-1.txt/reviewed'
method: PUT
method: '{{ item[0] }}'
user: admin
password: secret
status_code: 201
status_code: '{{ item[1] }}'
loop:
- [ PUT, 201 ]
- [ DELETE, 204 ]
- [ PUT, 201 ]
- name: Run selenium container
include_role: