Skip to content
Permalink
Browse files
227: Increase timeout on getting feedback for /test and /integrate
Reviewed-by: rwestberg
  • Loading branch information
edvbld committed Jan 14, 2020
1 parent 72c93f0 commit d0cc3d7cb6c03e27eb7590bdb05133928064f577
Showing 1 changed file with 4 additions and 4 deletions.
@@ -1014,7 +1014,7 @@ public static void main(String[] args) throws IOException, InterruptedException

var seenIntegrateComment = false;
var expected = "<!-- Jmerge command reply message (" + integrateComment.id() + ") -->";
for (var i = 0; i < 20; i++) {
for (var i = 0; i < 90; i++) {
var comments = pr.comments();
for (var comment : comments) {
if (!seenIntegrateComment) {
@@ -1033,7 +1033,7 @@ public static void main(String[] args) throws IOException, InterruptedException
}
}

Thread.sleep(1000);
Thread.sleep(2000);
}

System.err.println("error: timed out waiting for response to /integrate command");
@@ -1045,7 +1045,7 @@ public static void main(String[] args) throws IOException, InterruptedException
var testComment = pr.addComment("/test");

var seenTestComment = false;
for (var i = 0; i < 20; i++) {
for (var i = 0; i < 90; i++) {
var comments = pr.comments();
for (var comment : comments) {
if (!seenTestComment) {
@@ -1079,7 +1079,7 @@ public static void main(String[] args) throws IOException, InterruptedException
}
}

Thread.sleep(1000);
Thread.sleep(2000);
}

} else if (action.equals("approve")) {

0 comments on commit d0cc3d7

Please sign in to comment.