Add support for Spring Retry in CLI
This commit is contained in:
@@ -49,6 +49,14 @@ public class SampleIntegrationTests {
|
||||
output.contains("Hello World! From " + scriptUri));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void retrySample() throws Exception {
|
||||
String output = this.cli.run("retry.groovy");
|
||||
URI scriptUri = new File("samples/retry.groovy").toURI();
|
||||
assertTrue("Wrong output: " + output,
|
||||
output.contains("Hello World! From " + scriptUri));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void beansSample() throws Exception {
|
||||
this.cli.run("beans.groovy");
|
||||
|
||||
Reference in New Issue
Block a user