Looks like the default 10 seconds is not quite enough on releng.
Increase the default shutdown timeouts to 20 seconds.
Change-Id: I6a5b3bc6822835dd2515cef86de7376162d070bf
Signed-off-by: Tomas Cere <tomas.cere@pantheon.tech>
@After
public void tearDown() throws InterruptedException, ExecutionException {
service.close();
- ActorTestKit.shutdown(Adapter.toTyped(system));
+ ActorTestKit.shutdown(Adapter.toTyped(system), Duration.ofSeconds(20));
}
@Test
package org.opendaylight.controller.eos.akka;
import akka.actor.testkit.typed.javadsl.ActorTestKit;
+import java.time.Duration;
import java.util.List;
import org.junit.After;
import org.junit.Before;
@After
public void tearDown() {
- ActorTestKit.shutdown(clusterNode.getActorSystem());
+ ActorTestKit.shutdown(clusterNode.getActorSystem(), Duration.ofSeconds(20));
}
@Test