Skip to content

Commit

Permalink
Fix wrong test
Browse files Browse the repository at this point in the history
  • Loading branch information
chipironcin authored and Jorge Marin committed Jul 9, 2018
1 parent f26a1b6 commit 32661ee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public void notBuiltIfFoundInConsole() throws Exception {
+ "node {findText regexp: 'foobar', notBuiltIfFound: true, alsoCheckConsoleOutput: true}\n"));
WorkflowRun build = project.scheduleBuild2(0).get();
rule.waitForCompletion(build);
rule.assertLogContains("Checking console output", build);
rule.assertLogContains("Looking for pattern 'foobar' in the console output", build);
assertLogContainsMatch(build.getLogFile(), ECHO_UNIQUE_TEXT, build, true);
rule.assertBuildStatus(Result.NOT_BUILT, build);
}
Expand Down

0 comments on commit 32661ee

Please sign in to comment.