You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some test cases for services or handlers require construction of a HttpClient instance that is normally injected by the server registry in a running application.
These tests would often utilize the HttpClient.of {} initialization the test case to create the instance.
As a result of #1581 and introducing the Netty based DNS resolver, this no longer works without either:
Explicitly wiring in an ExecController instance: HttpClient.of { it.execController(execController)}
A little additional syntax that creates an HttpClient with the JDK resolver (blocking) for test uses (which is almost always acceptabled) could help users in the migration.
The text was updated successfully, but these errors were encountered:
Some test cases for services or handlers require construction of a
HttpClient
instance that is normally injected by the server registry in a running application.These tests would often utilize the
HttpClient.of {}
initialization the test case to create the instance.As a result of #1581 and introducing the Netty based DNS resolver, this no longer works without either:
ExecController
instance:HttpClient.of { it.execController(execController)}
HttpClient.of { it.useJdkAddressResolver() }
A little additional syntax that creates an
HttpClient
with the JDK resolver (blocking) for test uses (which is almost always acceptabled) could help users in the migration.The text was updated successfully, but these errors were encountered: