can't get testing-example to work - jettyServer is null at CustomClientTest.getLocalPort()

15 views
Skip to first unread message

Kai-Frederik Lüking

unread,
Dec 6, 2019, 9:25:09 AM12/6/19
to dropwizard-user
Ahoi!

I'm trying to get the excample test from https://www.dropwizard.io/en/stable/manual/testing.html#testing-client-implementations to work.
As stated below the code section "The DropwizardClientRule takes care of: […] Choosing a free random port number (important for running tests in parallel).".
That does not seem to work. Am I missing something, or is this a bug?

Jochen Schalanda

unread,
Dec 6, 2019, 7:17:53 PM12/6/19
to dropwiz...@googlegroups.com
Hi Kai-Frederik,

could you please provide a minimal project to illustrate your issue and describe what exactly doesn't work for you?

Best regards,
Jochen
Reply all
Reply to author
Forward
0 new messages