import akka.actor.ActorSystem;
import akka.testkit.javadsl.TestKit;
import com.typesafe.config.ConfigFactory;
import akka.actor.ActorSystem;
import akka.testkit.javadsl.TestKit;
import com.typesafe.config.ConfigFactory;
System.setProperty("shard.persistent", "false");
system = ActorSystem.create("test", ConfigFactory.load().getConfig("test-config"));
}
@AfterClass
System.setProperty("shard.persistent", "false");
system = ActorSystem.create("test", ConfigFactory.load().getConfig("test-config"));
}
@AfterClass
- public static void tearDownClass() throws IOException {
- TestKit.shutdownActorSystem(system, Boolean.TRUE);
+ public static void tearDownClass() {
+ TestKit.shutdownActorSystem(system, true);