fix logging of UI server auto-stop, fix indentation in test
Signed-off-by: Tamás Fenyvesi <tamas.fenyvesi@doknet.hu>master
parent
88ef784b7c
commit
ef7c21c204
|
@ -194,8 +194,9 @@ public class VertxUIServer extends AbstractVerticle implements UIServer {
|
|||
VertxUIServer.autoStopThread = new Thread(() -> {
|
||||
try {
|
||||
currentThread.join();
|
||||
log.info("Deeplearning4j UI server is auto-stopping.");
|
||||
if (VertxUIServer.instance != null && !VertxUIServer.instance.isStopped()) {
|
||||
log.info("Deeplearning4j UI server is auto-stopping after thread (name: {}) died.",
|
||||
currentThread.getName());
|
||||
instance.stop();
|
||||
}
|
||||
} catch (InterruptedException e) {
|
||||
|
|
|
@ -40,7 +40,7 @@ import static org.junit.Assert.*;
|
|||
public class TestVertxUIManual extends BaseDL4JTest {
|
||||
|
||||
@Override
|
||||
public long getTimeoutMilliseconds() {
|
||||
public long getTimeoutMilliseconds() {
|
||||
return 3600_000L;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue