Submit acceptance tests: disable waitForMerge
waitForMerge is deprecated and the documentation claims it's always waiting for the Merge to be performed. Test this by disabling waitForMerge. Change-Id: Iccad04d3df49ae3d0bc5964c1b45d1849fbac4ce
This commit is contained in:
@@ -221,7 +221,7 @@ public abstract class AbstractSubmit extends AbstractDaemonTest {
|
||||
private void submit(String changeId, int expectedStatus) throws Exception {
|
||||
approve(changeId);
|
||||
SubmitInput subm = new SubmitInput();
|
||||
subm.waitForMerge = true;
|
||||
subm.waitForMerge = false;
|
||||
RestResponse r =
|
||||
adminSession.post("/changes/" + changeId + "/submit", subm);
|
||||
assertThat(r.getStatusCode()).isEqualTo(expectedStatus);
|
||||
|
Reference in New Issue
Block a user