TimeOut during my JUnit Tests

534 views
Skip to first unread message

Leleu Eric

unread,
Nov 19, 2015, 4:29:56 PM11/19/15
to vert.x
Hi,


I'm new in vert.x and I have an issue to write my JUnit Tests.
My vertx application use the WEB plugin.

I have two verticles (a main verticle that define all the routes and a worker to provide potentially blocking actions)

Here is the start method of the main verticle :

@java.lang.Override
public void start(Future<java.lang.Void> fut) throws Exception {
    Integer port = config().getInteger(SERVER_HTTP_PORT, SERVER_HTTP_DEFAULT_PORT);
    processingTimeOut = config().getInteger(SERVER_PROCESS_TIMEOUT, SERVER_DEFAULT_PROCESS_TIMEOUT);

    LOGGER.info("Deploy KeystoreVerticle");
   
vertx.deployVerticle("io.github.leleueri.keyring.KeystoreVerticle",
           
new DeploymentOptions()
                   
.setWorker(true)
                    .setConfig(config())
    );

    LOGGER.info("Create Route object");
   
Router router = Router.router(vertx);
    router
.get("/keyring/aliases").handler(this::getAliases);
    router
.get("/keyring/secret-keys").handler(this::getAllKeys);
    router
.get("/keyring/secret-key/:alias").handler(this::getKey);
    router
.delete("/keyring/secret-key/:alias").handler(this::deleteKey);
    router
.post("/keyring/secret-keys").consumes("application/json").handler(BodyHandler.create()).handler(this::putKey);


   
LOGGER.info("Start WEB server");
   
HttpServerOptions httpOptions = getHttpServerOptions();
    vertx
        .createHttpServer(httpOptions)
       
.requestHandler(router::accept)
       
.listen(port, result -> {
           
if (result.succeeded()) {
                fut
.complete();
           
} else {
                fut
.fail(result.cause());
           
}
       
});
}

Here is a pice of the start method of the worker verticle.

public void start(Future<Void> fut) throws Exception {
   
String type = config().getString(APP_KEYSTORE_TYPE, APP_KEYSTORE_DEFAULT_TYPE);
   
if (!type.equals(APP_KEYSTORE_DEFAULT_TYPE)) {
       
throw new KeyringConfigurationException("Only the "+APP_KEYSTORE_DEFAULT_TYPE+" type is authorized for the keystore '"  + APP_KEYSTORE_TYPE +"'");
   
}
   
String path = config().getString(APP_KEYSTORE_PATH, APP_KEYSTORE_DEFAULT_PATH);
   
String pwd = config().getString(APP_KEYSTORE_PWD);
   
String keypwd = config().getString(APP_KEYSTORE_SECRET_KEY_PWD);

   
provider = new KeystoreProvider(type, pwd, path, keypwd);

    vertx.eventBus().consumer(LIST_ALIASES, message -> {
       
LOGGER.fine("[Worker] list all aliases " + Thread.currentThread().getName());
       
try {
           
Set<String> aliases = provider.listAlias();
           
if (aliases.isEmpty()) {
                message
.reply(null);
           
} else {
                message
.reply(Json.encodePrettily(aliases)); // to reply with an object we must have a message codec
            }
       
} catch (KeyringApplicativeException e) {
           
LOGGER.throwing(getClass().getName(), "Exception on listAllAliases", e);
            message
.fail(500, e.getMessage()); // create an error object to return in JSON format??
        }
   
});

// .... other actions

}

If I run my vertx application using the fat jer generated by maven, I can request all my "routes" and I have the expected answer for each of them.
But If i try to implement a JUnit class in order to automate these tests, It seems like the server never responds...

Here is my JUnit Class :

Saisissez le code ici...


@RunWith(VertxUnitRunner.class)
public class TestKeyringVerticle {

private Vertx vertx;

private Integer port = 8081;

public void reservePort() throws Exception{
ServerSocket socket = new ServerSocket(0);
port = socket.getLocalPort();
socket.close();
}

@Before
public void setUp(TestContext context) throws Exception {
reservePort();

// deploy the vertx with a custom configuration
final String path = "target/KeyringKeystore.jceks";
Paths.get(path).toFile().delete();

DeploymentOptions options = new DeploymentOptions()
.setConfig(new JsonObject().put("http.port", port)
.put(APP_KEYSTORE_DEFAULT_PATH, path)
.put(APP_KEYSTORE_PWD, "simplemotdepasse")
.put(APP_KEYSTORE_SECRET_KEY_PWD, "simplemotdepassecle"));

vertx = Vertx.vertx();
vertx.deployVerticle(KeyringVerticle.class.getName(), options, context.asyncAssertSuccess());
}

@After
public void tearDown(TestContext context) {
vertx.close(context.asyncAssertSuccess());
}

@Test
public void test(TestContext context) {
final Async async = context.async();
vertx.createHttpClient().getNow(port, "localhost", "/keyring/aliases", response -> {
response.handler(body -> {
System.out.println(body.toString());
async.complete();
});
});
}
}


According to my logs, I can say that the handler of the route "keyring/aliases" has been called but the test fails after a timeout. Here is the log output with a thread dump.
I can't see what I'm doing wrong? If someone can help me it will be appreciated

Thanks
Eric

Deploy KeystoreVerticle
Create Route object
Define all routes
Setting handler for a route more than once!
Start WEB server
Server received request: /keyring/aliases
Router: 544400692 accepting request GET http://localhost:52915/keyring/aliases
Route matches: Route[ path:/keyring/aliases pattern:null handler:io.github.leleueri.keyring.KeyringVerticle$$Lambda$14/1242121308@6f469150 failureHandler:null order:0 methods:[GET]]@1499880436
Calling the  handler
[Main] getAllAliases Receiving reply in vert.x-eventloop-thread-2
2015-11-19 22:08:49
Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.66-b17 mixed mode):

"vert.x-worker-thread-1" #36 prio=5 os_prio=0 tid=0x00007fd2c4099000 nid=0x1c2e waiting on condition [0x00007fd318e75000]
   java
.lang.Thread.State: WAITING (parking)
    at sun
.misc.Unsafe.park(Native Method)
   
- parking to wait for  <0x00000000d90d6b38> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    at java
.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
    at java
.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
    at java
.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
    at java
.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)
    at java
.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
    at java
.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java
.lang.Thread.run(Thread.java:745)

"threadDeathWatcher-2-1" #35 daemon prio=1 os_prio=0 tid=0x00007fd2b8020800 nid=0x1c2d waiting on condition [0x00007fd31af78000]
   java
.lang.Thread.State: TIMED_WAITING (sleeping)
    at java
.lang.Thread.sleep(Native Method)
    at io
.netty.util.ThreadDeathWatcher$Watcher.run(ThreadDeathWatcher.java:137)
    at io
.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
    at java
.lang.Thread.run(Thread.java:745)

"vert.x-eventloop-thread-4" #18 prio=5 os_prio=0 tid=0x00007fd344639000 nid=0x1c2c runnable [0x00007fd31b079000]
   java
.lang.Thread.State: RUNNABLE
    at sun
.nio.ch.EPollArrayWrapper.epollWait(Native Method)
    at sun
.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269)
    at sun
.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:79)
    at sun
.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
   
- locked <0x00000000d910a0c0> (a io.netty.channel.nio.SelectedSelectionKeySet)
   
- locked <0x00000000d910d080> (a java.util.Collections$UnmodifiableSet)
   
- locked <0x00000000d910a028> (a sun.nio.ch.EPollSelectorImpl)
    at sun
.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
    at io
.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:622)
    at io
.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:310)
    at io
.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
    at java
.lang.Thread.run(Thread.java:745)

"Thread-4" #34 prio=5 os_prio=0 tid=0x00007fd344612800 nid=0x1c2b waiting on condition [0x00007fd31b17a000]
   java
.lang.Thread.State: TIMED_WAITING (sleeping)
    at java
.lang.Thread.sleep(Native Method)
    at io
.vertx.ext.unit.impl.TestContextImpl.lambda$run$78(TestContextImpl.java:146)
    at io
.vertx.ext.unit.impl.TestContextImpl$$Lambda$5/17983781.run(Unknown Source)
    at java
.lang.Thread.run(Thread.java:745)

"vert.x-eventloop-thread-1" #15 prio=5 os_prio=0 tid=0x00007fd2c4088000 nid=0x1c2a runnable [0x00007fd31b27b000]
   java
.lang.Thread.State: RUNNABLE
    at sun
.nio.ch.EPollArrayWrapper.epollWait(Native Method)
    at sun
.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269)
    at sun
.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:79)
    at sun
.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
   
- locked <0x00000000d911a0a0> (a io.netty.channel.nio.SelectedSelectionKeySet)
   
- locked <0x00000000d911d080> (a java.util.Collections$UnmodifiableSet)
   
- locked <0x00000000d911a008> (a sun.nio.ch.EPollSelectorImpl)
    at sun
.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
    at io
.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:622)
    at io
.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:310)
    at io
.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
    at java
.lang.Thread.run(Thread.java:745)

"vert.x-acceptor-thread-0" #30 prio=5 os_prio=0 tid=0x00007fd2c4084000 nid=0x1c29 runnable [0x00007fd31b57c000]
   java
.lang.Thread.State: RUNNABLE
    at sun
.nio.ch.EPollArrayWrapper.epollWait(Native Method)
    at sun
.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269)
    at sun
.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:79)
    at sun
.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
   
- locked <0x00000000d911fa68> (a io.netty.channel.nio.SelectedSelectionKeySet)
   
- locked <0x00000000d9121ae8> (a java.util.Collections$UnmodifiableSet)
   
- locked <0x00000000d911f9d0> (a sun.nio.ch.EPollSelectorImpl)
    at sun
.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
    at io
.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:622)
    at io
.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:310)
    at io
.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
    at java
.lang.Thread.run(Thread.java:745)

"vert.x-worker-thread-0" #32 prio=5 os_prio=0 tid=0x00007fd2c400c800 nid=0x1c27 waiting on condition [0x00007fd31bafd000]
   java
.lang.Thread.State: WAITING (parking)
    at sun
.misc.Unsafe.park(Native Method)
   
- parking to wait for  <0x00000000d90d6b38> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    at java
.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
    at java
.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
    at java
.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
    at java
.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)
    at java
.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
    at java
.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java
.lang.Thread.run(Thread.java:745)

"vert.x-eventloop-thread-2" #16 prio=5 os_prio=0 tid=0x00007fd34460a800 nid=0x1c26 runnable [0x00007fd31bbfe000]
   java
.lang.Thread.State: RUNNABLE
    at sun
.nio.ch.EPollArrayWrapper.epollWait(Native Method)
    at sun
.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269)
    at sun
.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:79)
    at sun
.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
   
- locked <0x00000000d91120c0> (a io.netty.channel.nio.SelectedSelectionKeySet)
   
- locked <0x00000000d9115080> (a java.util.Collections$UnmodifiableSet)
   
- locked <0x00000000d9112028> (a sun.nio.ch.EPollSelectorImpl)
    at sun
.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
    at io
.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:622)
    at io
.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:310)
    at io
.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
    at java
.lang.Thread.run(Thread.java:745)

"vertx-blocked-thread-checker" #13 daemon prio=5 os_prio=0 tid=0x00007fd3443d5000 nid=0x1c21 in Object.wait() [0x00007fd320109000]
   java
.lang.Thread.State: TIMED_WAITING (on object monitor)
    at java
.lang.Object.wait(Native Method)
   
- waiting on <0x00000000d8f08680> (a java.util.TaskQueue)
    at java
.util.TimerThread.mainLoop(Timer.java:552)
   
- locked <0x00000000d8f08680> (a java.util.TaskQueue)
    at java
.util.TimerThread.run(Timer.java:505)

"Thread-0" #11 prio=5 os_prio=0 tid=0x00007fd344363000 nid=0x1c20 waiting on condition [0x00007fd32041b000]
   java
.lang.Thread.State: TIMED_WAITING (sleeping)
    at java
.lang.Thread.sleep(Native Method)
    at io
.vertx.ext.unit.impl.TestContextImpl.lambda$run$78(TestContextImpl.java:146)
    at io
.vertx.ext.unit.impl.TestContextImpl$$Lambda$5/17983781.run(Unknown Source)
    at java
.lang.Thread.run(Thread.java:745)

"Monitor Ctrl-Break" #10 daemon prio=5 os_prio=0 tid=0x00007fd344120000 nid=0x1c0b runnable [0x00007fd320819000]
   java
.lang.Thread.State: RUNNABLE
    at java
.net.SocketInputStream.socketRead0(Native Method)
    at java
.net.SocketInputStream.socketRead(SocketInputStream.java:116)
    at java
.net.SocketInputStream.read(SocketInputStream.java:170)
    at java
.net.SocketInputStream.read(SocketInputStream.java:141)
    at sun
.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
    at sun
.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
    at sun
.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
   
- locked <0x00000000d8417020> (a java.io.InputStreamReader)
    at java
.io.InputStreamReader.read(InputStreamReader.java:184)
    at java
.io.BufferedReader.fill(BufferedReader.java:161)
    at java
.io.BufferedReader.readLine(BufferedReader.java:324)
   
- locked <0x00000000d8417020> (a java.io.InputStreamReader)
    at java
.io.BufferedReader.readLine(BufferedReader.java:389)
    at com
.intellij.rt.execution.application.AppMain$1.run(AppMain.java:88)
    at java
.lang.Thread.run(Thread.java:745)

"Service Thread" #9 daemon prio=9 os_prio=0 tid=0x00007fd3440ce000 nid=0x1c09 runnable [0x0000000000000000]
   java
.lang.Thread.State: RUNNABLE

"C1 CompilerThread3" #8 daemon prio=9 os_prio=0 tid=0x00007fd3440c9000 nid=0x1c08 waiting on condition [0x0000000000000000]
   java
.lang.Thread.State: RUNNABLE

"C2 CompilerThread2" #7 daemon prio=9 os_prio=0 tid=0x00007fd3440c6800 nid=0x1c07 waiting on condition [0x0000000000000000]
   java
.lang.Thread.State: RUNNABLE

"C2 CompilerThread1" #6 daemon prio=9 os_prio=0 tid=0x00007fd3440c5000 nid=0x1c06 waiting on condition [0x0000000000000000]
   java
.lang.Thread.State: RUNNABLE

"C2 CompilerThread0" #5 daemon prio=9 os_prio=0 tid=0x00007fd3440c2000 nid=0x1c05 waiting on condition [0x0000000000000000]
   java
.lang.Thread.State: RUNNABLE

"Signal Dispatcher" #4 daemon prio=9 os_prio=0 tid=0x00007fd3440c0800 nid=0x1c04 waiting on condition [0x0000000000000000]
   java
.lang.Thread.State: RUNNABLE

"Finalizer" #3 daemon prio=8 os_prio=0 tid=0x00007fd344088800 nid=0x1c03 in Object.wait() [0x00007fd3214ee000]
   java
.lang.Thread.State: WAITING (on object monitor)
    at java
.lang.Object.wait(Native Method)
   
- waiting on <0x00000000d8f09138> (a java.lang.ref.ReferenceQueue$Lock)
    at java
.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
   
- locked <0x00000000d8f09138> (a java.lang.ref.ReferenceQueue$Lock)
    at java
.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
    at java
.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:209)

"Reference Handler" #2 daemon prio=10 os_prio=0 tid=0x00007fd344086000 nid=0x1c02 in Object.wait() [0x00007fd3215ef000]
   java
.lang.Thread.State: WAITING (on object monitor)
    at java
.lang.Object.wait(Native Method)
   
- waiting on <0x00000000d8f10438> (a java.lang.ref.Reference$Lock)
    at java
.lang.Object.wait(Object.java:502)
    at java
.lang.ref.Reference$ReferenceHandler.run(Reference.java:157)
   
- locked <0x00000000d8f10438> (a java.lang.ref.Reference$Lock)

"main" #1 prio=5 os_prio=0 tid=0x00007fd34400b000 nid=0x1bf6 waiting on condition [0x00007fd34b0c2000]
   java
.lang.Thread.State: WAITING (parking)
    at sun
.misc.Unsafe.park(Native Method)
   
- parking to wait for  <0x00000000d7d62c10> (a java.util.concurrent.CompletableFuture$Signaller)
    at java
.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
    at java
.util.concurrent.CompletableFuture$Signaller.block(CompletableFuture.java:1693)
    at java
.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3323)
    at java
.util.concurrent.CompletableFuture.waitingGet(CompletableFuture.java:1729)
    at java
.util.concurrent.CompletableFuture.get(CompletableFuture.java:1895)
    at io
.vertx.ext.unit.junit.VertxUnitRunner.invokeExplosively(VertxUnitRunner.java:126)
    at io
.vertx.ext.unit.junit.VertxUnitRunner.access$100(VertxUnitRunner.java:38)
    at io
.vertx.ext.unit.junit.VertxUnitRunner$1.evaluate(VertxUnitRunner.java:82)
    at io
.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:178)
    at io
.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:193)
    at org
.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
    at org
.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
    at org
.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
    at org
.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    at org
.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    at org
.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    at org
.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    at org
.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    at org
.junit.runners.ParentRunner.run(ParentRunner.java:363)
    at org
.junit.runner.JUnitCore.run(JUnitCore.java:137)
    at com
.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:74)
    at com
.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:211)
    at com
.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:67)
    at sun
.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun
.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java
.lang.reflect.Method.invoke(Method.java:497)
    at com
.intellij.rt.execution.application.AppMain.main(AppMain.java:134)

"VM Thread" os_prio=0 tid=0x00007fd344081000 nid=0x1c01 runnable

"GC task thread#0 (ParallelGC)" os_prio=0 tid=0x00007fd344020800 nid=0x1bf7 runnable

"GC task thread#1 (ParallelGC)" os_prio=0 tid=0x00007fd344022000 nid=0x1bf8 runnable

"GC task thread#2 (ParallelGC)" os_prio=0 tid=0x00007fd344024000 nid=0x1bf9 runnable

"GC task thread#3 (ParallelGC)" os_prio=0 tid=0x00007fd344025800 nid=0x1bfa runnable

"GC task thread#4 (ParallelGC)" os_prio=0 tid=0x00007fd344027800 nid=0x1bfb runnable

"GC task thread#5 (ParallelGC)" os_prio=0 tid=0x00007fd344029000 nid=0x1bfc runnable

"GC task thread#6 (ParallelGC)" os_prio=0 tid=0x00007fd34402b000 nid=0x1bfd runnable

"GC task thread#7 (ParallelGC)" os_prio=0 tid=0x00007fd34402c800 nid=0x1bfe runnable

"VM Periodic Task Thread" os_prio=0 tid=0x00007fd3440d1000 nid=0x1c0a waiting on condition

JNI
global references: 407

Heap
 
PSYoungGen      total 36864K, used 25980K [0x00000000d7000000, 0x00000000db800000, 0x0000000100000000)
  eden space
31744K, 65% used [0x00000000d7000000,0x00000000d8466590,0x00000000d8f00000)
 
from space 5120K, 99% used [0x00000000d8f00000,0x00000000d93f8b08,0x00000000d9400000)
  to   space
5120K, 0% used [0x00000000db300000,0x00000000db300000,0x00000000db800000)
 
ParOldGen       total 84992K, used 1005K [0x0000000085000000, 0x000000008a300000, 0x00000000d7000000)
 
object space 84992K, 1% used [0x0000000085000000,0x00000000850fb570,0x000000008a300000)
 
Metaspace       used 15325K, capacity 15802K, committed 16128K, reserved 1062912K
 
class space    used 1788K, capacity 1937K, committed 2048K, reserved 1048576K


java
.util.concurrent.TimeoutException
    at io
.vertx.ext.unit.impl.TestContextImpl.lambda$run$78(TestContextImpl.java:147)
    at java
.lang.Thread.run(Thread.java:745)


Process finished with exit code 255
 


Leleu Eric

unread,
Nov 19, 2015, 4:50:45 PM11/19/15
to vert.x
Ok I found my mistake

I'm trying to read an empty body...

Eric

Eric
...
Reply all
Reply to author
Forward
0 new messages