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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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?