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
|
//#after
|
||||||
final ExecutionContext ec = system.dispatcher();
|
final ExecutionContext ec = system.dispatcher();
|
||||||
Future<String> failExc = Futures.failed(new IllegalStateException("OHNOES1"));
|
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);
|
system.scheduler(), ec, failExc);
|
||||||
Future<String> future = future(new Callable<String>() {
|
Future<String> future = future(new Callable<String>() {
|
||||||
public String call() throws InterruptedException {
|
public String call() throws InterruptedException {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue