Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-393

Unit tests must use test-data directory.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8.0
    • Component/s: None
    • Labels:
      None

      Description

      Some unit tests use directories instead of test-data directory. It causes unit test failures in ASF jenkins.

      2013-12-06 23:48:48,175 ERROR master.GlobalEngine (GlobalEngine.java:executeQuery(172)) - 
      Stack Trace:
      java.io.IOException: ERROR: file:///tmp/testDDLByExecuteQuery does not exist
      	at org.apache.tajo.master.GlobalEngine.createTableOnPath(GlobalEngine.java:274)
      	at org.apache.tajo.master.GlobalEngine.createTable(GlobalEngine.java:256)
      
      1. TAJO-393.patch
        2 kB
        Hyunsik Choi

        Activity

        Hide
        hyunsik Hyunsik Choi added a comment -

        This patch fixes the problem.

        Show
        hyunsik Hyunsik Choi added a comment - This patch fixes the problem.
        Hide
        jhkim Jinho Kim added a comment -

        +1

        Show
        jhkim Jinho Kim added a comment - +1
        Hide
        hyunsik Hyunsik Choi added a comment -

        committed this fix to master.

        Show
        hyunsik Hyunsik Choi added a comment - committed this fix to master.
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Tajo-trunk-postcommit #596 (See https://builds.apache.org/job/Tajo-trunk-postcommit/596/)
        TAJO-393: Unit tests must use test-data directory. (hyunsik) (hyunsik: https://git-wip-us.apache.org/repos/asf?p=incubator-tajo.git&a=commit&h=8ce2a940212ef069a443b767102500e5252b7566)

        • tajo-core/tajo-core-backend/src/test/java/org/apache/tajo/BackendTestingUtil.java
        • CHANGES.txt
        • tajo-core/tajo-core-backend/src/test/java/org/apache/tajo/client/TestTajoClient.java
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Tajo-trunk-postcommit #596 (See https://builds.apache.org/job/Tajo-trunk-postcommit/596/ ) TAJO-393 : Unit tests must use test-data directory. (hyunsik) (hyunsik: https://git-wip-us.apache.org/repos/asf?p=incubator-tajo.git&a=commit&h=8ce2a940212ef069a443b767102500e5252b7566 ) tajo-core/tajo-core-backend/src/test/java/org/apache/tajo/BackendTestingUtil.java CHANGES.txt tajo-core/tajo-core-backend/src/test/java/org/apache/tajo/client/TestTajoClient.java

          People

          • Assignee:
            hyunsik Hyunsik Choi
            Reporter:
            hyunsik Hyunsik Choi
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development