mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-02 15:29:05 +00:00
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