Java time duration support for javadsl #24646
java.time.Duration support in all jdocs java file, the persistence module and the distributed-data
This commit is contained in:
parent
ced08fcb57
commit
a4951e0ce7
30 changed files with 214 additions and 141 deletions
|
|
@ -9,8 +9,6 @@ import akka.testkit.javadsl.TestKit;
|
|||
import org.junit.AfterClass;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Test;
|
||||
import scala.concurrent.Await;
|
||||
import scala.concurrent.duration.Duration;
|
||||
|
||||
import akka.actor.AbstractActor;
|
||||
import akka.actor.ActorRef;
|
||||
|
|
@ -50,8 +48,8 @@ public class DependencyInjectionDocTest extends AbstractJavaTest {
|
|||
}
|
||||
|
||||
@AfterClass
|
||||
public static void afterClass() throws Exception {
|
||||
Await.ready(system.terminate(), Duration.create("5 seconds"));
|
||||
public static void afterClass() {
|
||||
TestKit.shutdownActorSystem(system);
|
||||
}
|
||||
|
||||
//this is just to make the test below a tiny fraction nicer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue