Adjust timing in FutureDocTestBase, see #3112
* Corresponding scala test uses the same value
This commit is contained in:
parent
370d6451c7
commit
0e7063b4bf
1 changed files with 1 additions and 1 deletions
|
|
@ -556,7 +556,7 @@ public class FutureDocTestBase {
|
|||
//#after
|
||||
final ExecutionContext ec = system.dispatcher();
|
||||
Future<String> failExc = Futures.failed(new IllegalStateException("OHNOES1"));
|
||||
Future<String> delayed = Patterns.after(Duration.create(500, "millis"),
|
||||
Future<String> delayed = Patterns.after(Duration.create(200, "millis"),
|
||||
system.scheduler(), ec, failExc);
|
||||
Future<String> future = future(new Callable<String>() {
|
||||
public String call() throws InterruptedException {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue