gradle test task

This commit is contained in:
danijoo
2015-11-07 13:11:32 +01:00
parent e3381ac878
commit aa923627f3
3 changed files with 20 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ public class MyEndpoint {
* A simple endpoint method that takes a name and says Hi back
*/
@ApiMethod(name = "tellJoke")
public Joke tellJoke () {
public Joke tellJoke () throws InterruptedException {
return new Joke(jp.getRandomJoke());
}