Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider introduce a configurable Timeout for JavalinTest #2247

Closed
ermanno00 opened this issue May 15, 2024 · 1 comment
Closed

Consider introduce a configurable Timeout for JavalinTest #2247

ermanno00 opened this issue May 15, 2024 · 1 comment
Labels

Comments

@ermanno00
Copy link

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?

@tipsy
Copy link
Member

tipsy commented Jul 5, 2024

You can pass a client:

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

@tipsy tipsy closed this as completed Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants