Avro
  1. Avro
  2. AVRO-138

Poor network connection blocks Java unit-tests

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: java
    • Labels:
      None

      Description

      The ant target test-java compiles the test code, run checkstyle, builds javadoc and then runs the unit tests. With poor or no internet connection, javadoc fails because it's not able to access java.sun.com or jackson.codehaus.org. These are used to create links in documentation for the JRE and Jackson APIs.

      In the following patch, I create a new target unit-test-java and make test-java depend on it. With this the order of execution for test-java is compile test code, run unit tests, run checkstyle and then build javadoc. When, someone wants to just run the unit-tests, he/she can use unit-test-java.

      1. AVRO-138.patch
        0.6 kB
        Thiruvalluvan M. G.

        Activity

        Doug Cutting made changes -
        Component/s java [ 12312780 ]
        Doug Cutting made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Doug Cutting made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Thiruvalluvan M. G. [ thiru_mg ]
        Fix Version/s 1.2.0 [ 12314242 ]
        Resolution Fixed [ 1 ]
        Thiruvalluvan M. G. made changes -
        Field Original Value New Value
        Attachment AVRO-138.patch [ 12421560 ]
        Thiruvalluvan M. G. created issue -

          People

          • Assignee:
            Thiruvalluvan M. G.
            Reporter:
            Thiruvalluvan M. G.
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development