hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Liang Xie (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-11439) TestWebDelegationToken is flaky
Date Mon, 22 Dec 2014 07:11:13 GMT
Liang Xie created HADOOP-11439:

             Summary: TestWebDelegationToken is flaky
                 Key: HADOOP-11439
                 URL: https://issues.apache.org/jira/browse/HADOOP-11439
             Project: Hadoop Common
          Issue Type: Test
          Components: security, test
    Affects Versions: 2.7.0
            Reporter: Liang Xie
            Assignee: Liang Xie

see https://builds.apache.org/job/PreCommit-HDFS-Build/9101//testReport/org.apache.hadoop.security.token.delegation.web/TestWebDelegationToken/testDelegationTokenAuthenticatorCallsWithQueryString/

through we have set the port to 0 in 
  protected Server createJettyServer() {
    try {
      InetAddress localhost = InetAddress.getLocalHost();
      ServerSocket ss = new ServerSocket(0, 50, localhost);
      int port = ss.getLocalPort();
      jetty = new Server(0);

but in a QA robot env, it still could see the new random port be grab by other testing case
or third party applicatons just between "ss.close" and "jetty.start()" call. so we still need
a BindException retry here probably.

This message was sent by Atlassian JIRA

View raw message