exposing a http-tcp-socket from within the subprocess #3016
Labels
bug
This issue is a bug.
effort/large
Large work item – several weeks of effort
module/runtime
Issues affecting the `jsii-runtime`
p2
❓ Guidance
Affected Languages
TypeScript
orJavascript
Python
Java
C#
,F#
, ...)Go
General Information
1.35.0 (build 6ebef96), typescript 3.9.10
Darwin xxxx 20.6.0 Darwin Kernel Version 20.6.0: Wed Jun 23 00:26:31 PDT 2021; root:xnu-7195.141.2~5/RELEASE_X86_64 x86_64
The Question
Hello, I'm trying evaluate the possibility to build a testing library that mocks a http server.
I tried some code:
this works fine in node, however it seems I can't get a connection from my junit test:
I've also hit an infinite sleep in the junit test and tried to curl the local address, however with no success.
could it be that it is not possible to expose a socket from the internal node process?
The text was updated successfully, but these errors were encountered: