gerrit: test reviewed flag add/delete/add cycle
A suggested follow-on to Ifaee5981e0977d7d1135275e7d8a0790075f670b Change-Id: Ied549d90f9f8e336f1c6661d101480ed4d561b1b
This commit is contained in:
parent
75e160180b
commit
db182ec017
@ -252,13 +252,20 @@
|
|||||||
- 2
|
- 2
|
||||||
- 3
|
- 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
|
- name: Post a file review to confirm accountPatchDb connection
|
||||||
uri:
|
uri:
|
||||||
url: 'http://localhost:8081/a/changes/y%2Ftestproject~1/revisions/1/files/file-1.txt/reviewed'
|
url: 'http://localhost:8081/a/changes/y%2Ftestproject~1/revisions/1/files/file-1.txt/reviewed'
|
||||||
method: PUT
|
method: '{{ item[0] }}'
|
||||||
user: admin
|
user: admin
|
||||||
password: secret
|
password: secret
|
||||||
status_code: 201
|
status_code: '{{ item[1] }}'
|
||||||
|
loop:
|
||||||
|
- [ PUT, 201 ]
|
||||||
|
- [ DELETE, 204 ]
|
||||||
|
- [ PUT, 201 ]
|
||||||
|
|
||||||
- name: Run selenium container
|
- name: Run selenium container
|
||||||
include_role:
|
include_role:
|
||||||
|
Loading…
Reference in New Issue
Block a user