Q7

Deal with maven plugin shutdownListener port allocation

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.3.10
  • Component/s: Runner
  • Labels:
    None
  • Test Mode:
    Manual

Description

Now Maven plugin detects a free port and makes Runner open it. If two Maven instances are started at the same time, same ports can be selected causing runner failure.

There are two ways to solve this problem:

  • explicitly configure shutdownListener port for Maven plugin and make sure they are different for different instances of Maven (by Ivan)
  • make Runner connect to a port opened by Maven plugin instead of opening it itself (this way we make port search/allocation atomic) (by Andrey)

Issue Links

Activity

Hide
Vasili Gulevich added a comment - 13/Dec/13 4:21 PM

Port is now selected randomly in an interval from 9000 to 10999.

Show
Vasili Gulevich added a comment - 13/Dec/13 4:21 PM Port is now selected randomly in an interval from 9000 to 10999.

People

Vote (0)
Watch (0)

Dates

  • Created:
    13/Dec/13 2:18 PM
    Updated:
    13/Dec/13 4:21 PM
    Resolved:
    13/Dec/13 4:21 PM