Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-13555

TestNetworkTopology#testInvalidNetworkTopologiesNotCachedInHdfs times out on Windows

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • None

    Description

      Although TestNetworkTopology#testInvalidNetworkTopologiesNotCachedInHdfs has 180s timeout, it is overridden by global timeout

      @Rule
       public Timeout testTimeout = new Timeout(30000);

      [INFO] Running org.apache.hadoop.net.TestNetworkTopology
      [ERROR] Tests run: 15, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 30.741 s <<< FAILURE! - in org.apache.hadoop.net.TestNetworkTopology
      [ERROR] testInvalidNetworkTopologiesNotCachedInHdfs(org.apache.hadoop.net.TestNetworkTopology) Time elapsed: 30.009 s <<< ERROR!
      java.lang.Exception: test timed out after 30000 milliseconds
      at java.lang.Object.wait(Native Method)
      at java.lang.Thread.join(Thread.java:1257)
      at org.junit.internal.runners.statements.FailOnTimeout.evaluateStatement(FailOnTimeout.java:26)
      at org.junit.internal.runners.statements.FailOnTimeout.evaluate(FailOnTimeout.java:17)
      at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)

      [INFO]
      [INFO] Results:
      [INFO]
      [ERROR] Errors:
      [ERROR] TestNetworkTopology>Object.wait:-2 ╗ test timed out after 30000 milliseconds
      [INFO]
      [ERROR] Tests run: 15, Failures: 0, Errors: 1, Skipped: 0

      Attachments

        1. HDFS-13555.000.patch
          0.9 kB
          Anbang Hu

        Issue Links

          Activity

            People

              huanbang1993 Anbang Hu
              huanbang1993 Anbang Hu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: