Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[FIXED JENKINS-26399] [JENKINS-25975] Merged #1609.
Originally-Committed-As: 9ac2257d0a3fa86928267a82d69d55c5a4e423c1
  • Loading branch information
jglick committed Mar 24, 2015
1 parent 81a7bd1 commit fc7807e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/src/main/java/org/jvnet/hudson/test/BuildWatcher.java
Expand Up @@ -45,7 +45,7 @@
* Should work in combination with {@link JenkinsRule} or {@link RestartableJenkinsRule}.
* @see JenkinsRule#waitForCompletion
* @see JenkinsRule#waitForMessage
* @since TODO
* @since 1.607
*/
public final class BuildWatcher extends ExternalResource {

Expand Down
4 changes: 2 additions & 2 deletions test/src/main/java/org/jvnet/hudson/test/JenkinsRule.java
Expand Up @@ -1152,7 +1152,7 @@ public static String getLog(Run run) throws IOException {
* Waits for a build to complete.
* Useful in conjunction with {@link BuildWatcher}.
* @return the same build, once done
* @since TODO
* @since 1.607
*/
public <R extends Run<?,?>> R waitForCompletion(R r) throws InterruptedException {
// Could be using com.jayway.awaitility:awaitility but it seems like overkill here.
Expand All @@ -1166,7 +1166,7 @@ public <R extends Run<?,?>> R waitForCompletion(R r) throws InterruptedException
* Waits for a build log to contain a specified string.
* Useful in conjunction with {@link BuildWatcher}.
* @return the same build, once it does
* @since TODO
* @since 1.607
*/
public <R extends Run<?,?>> R waitForMessage(String message, R r) throws IOException, InterruptedException {
while (!getLog(r).contains(message)) {
Expand Down

0 comments on commit fc7807e

Please sign in to comment.