JSCover icon indicating copy to clipboard operation
JSCover copied to clipboard

Add utility to find a free port

Open tntim96 opened this issue 1 year ago • 2 comments

tntim96 avatar Apr 24 '23 01:04 tntim96

@tntim96 Can you please suggest some more information?

Yasir761 avatar Apr 24 '23 10:04 Yasir761

Sure @Yasir761 . Basically something like this: http://svn.apache.org/viewvc/camel/trunk/components/camel-test/src/main/java/org/apache/camel/test/AvailablePortFinder.java?view=markup#l130

This is so wrapping code in our CI environment can ensure JSCover is running on an unused port. The method signature can be the same as in that sample I think.

tntim96 avatar Apr 24 '23 10:04 tntim96