Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-1610

UnitTests fail on Windows because of wrong paths

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0.0
    • 4.1.0
    • None
    • None

    Description

      java.net.URISyntaxException: Illegal character in authority at index 7: file://D:\w\oozie\core\target\test-data\oozietests\org.apache.oozie.TestCoordinatorEngineStreamLog\testStreamLog2\coordinator.xml
      at java.net.URI$Parser.fail(URI.java:2810)
      at java.net.URI$Parser.parseAuthority(URI.java:3148)
      at java.net.URI$Parser.parseHierarchical(URI.java:3059)
      at java.net.URI$Parser.parse(URI.java:3015)
      at java.net.URI.<init>(URI.java:577)
      at org.apache.oozie.TestCoordinatorEngineStreamLog.writeToFile(TestCoordinatorEngineStreamLog.java:64)
      at org.apache.oozie.TestCoordinatorEngineStreamLog.runJobsImpl(TestCoordinatorEngineStreamLog.java:197)
      at org.apache.oozie.TestCoordinatorEngineStreamLog.testStreamLog2(TestCoordinatorEngineStreamLog.java:102)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at junit.framework.TestCase.runTest(TestCase.java:168)
      at junit.framework.TestCase.runBare(TestCase.java:134)
      at junit.framework.TestResult$1.protect(TestResult.java:110)
      at junit.framework.TestResult.runProtected(TestResult.java:128)
      at junit.framework.TestResult.run(TestResult.java:113)
      at junit.framework.TestCase.run(TestCase.java:124)
      at junit.framework.TestSuite.runTest(TestSuite.java:243)
      at junit.framework.TestSuite.run(TestSuite.java:238)
      at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
      at org.apache.maven.surefire.junitcore.ClassDemarcatingRunner.run(ClassDemarcatingRunner.java:58)
      at org.junit.runners.Suite.runChild(Suite.java:128)
      at org.junit.runners.Suite.runChild(Suite.java:24)
      at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)

      Attachments

        1. 0001-OOZIE-1610.patch
          15 kB
          Ostap
        2. 0002-OOZIE-1610.patch
          1 kB
          Ostap
        3. OOZIE-1610.2.trunk.patch
          0.8 kB
          Ostap
        4. UnitTests_fail_because_of_wrong_path_fix.patch
          14 kB
          Ostap

        Activity

          People

            omaliuvanchuk Ostap
            omaliuvanchuk Ostap
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: