javalin / javalin

A simple and modern Java and Kotlin web framework

Home Page:https://javalin.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Consider introduce a configurable Timeout for JavalinTest

ermanno00 opened this issue · comments

I am using

JavalinTest.test(app, (server, client) -> {

});

to handle my integration tests. I noticed that the okHttpClient behind client has timeouts set to 10 seconds.

How can i configure it?

commented

You can pass a client:

JavalinTest.test(app, TestConfig(okHttpClient = myClient)) { ... }