james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tellier Benoit (JIRA)" <server-...@james.apache.org>
Subject [jira] [Created] (JAMES-2369) PortTest reject 1024 as an unpriviledge port
Date Mon, 02 Apr 2018 10:42:00 GMT
Tellier Benoit created JAMES-2369:
-------------------------------------

             Summary: PortTest reject 1024 as an unpriviledge port
                 Key: JAMES-2369
                 URL: https://issues.apache.org/jira/browse/JAMES-2369
             Project: James Server
          Issue Type: New Feature
            Reporter: Tellier Benoit


Got a test error:

{code:java}
[875f21caab5cd150b415ed19c674a2dffb431862] Failed tests: 
[875f21caab5cd150b415ed19c674a2dffb431862]   PortTest.generateValidUnprivilegedPortShouldReturnAValidPort:89

[875f21caab5cd150b415ed19c674a2dffb431862] Expecting:
[875f21caab5cd150b415ed19c674a2dffb431862]  <1024>
[875f21caab5cd150b415ed19c674a2dffb431862] to be between:
[875f21caab5cd150b415ed19c674a2dffb431862]  ]1024, 65535[
{code}

1024 is not a priviledge port.

We should ensure that valid value is accepted by the test suite.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message