You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Scott Carey (JIRA)" <ji...@apache.org> on 2010/12/17 02:19:02 UTC

[jira] Created: (AVRO-715) New Java build: refactor tests to use shared method for identifying temp file location

New Java build: refactor tests to use shared method for identifying temp file location
--------------------------------------------------------------------------------------

                 Key: AVRO-715
                 URL: https://issues.apache.org/jira/browse/AVRO-715
             Project: Avro
          Issue Type: Task
          Components: java
            Reporter: Scott Carey
             Fix For: 1.5.0


Many tests individually write temp files based on relative paths, '/tmp', or reading from a system property.  These need to be refactored into one utility for handling the location of temp files for unit tests.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AVRO-715) New Java build: refactor tests to use shared method for identifying temp file location

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AVRO-715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972617#action_12972617 ] 

Doug Cutting commented on AVRO-715:
-----------------------------------

Note taht with http://svn.apache.org/viewvc?view=revision&revision=1050474 this is not critical for 1.5.0 but would still be an improvement.

> New Java build: refactor tests to use shared method for identifying temp file location
> --------------------------------------------------------------------------------------
>
>                 Key: AVRO-715
>                 URL: https://issues.apache.org/jira/browse/AVRO-715
>             Project: Avro
>          Issue Type: Task
>          Components: java
>            Reporter: Scott Carey
>            Assignee: Scott Carey
>             Fix For: 1.5.0
>
>
> Many tests individually write temp files based on relative paths, '/tmp', or reading from a system property.  These need to be refactored into one utility for handling the location of temp files for unit tests.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AVRO-715) New Java build: refactor tests to use shared method for identifying temp file location

Posted by "Scott Carey (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AVRO-715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972661#action_12972661 ] 

Scott Carey commented on AVRO-715:
----------------------------------

Also, if the temp directory is just target/ it is a little dangerous -- we might collide with other build output unexpectedly.  If we change it to target/test it currently breaks because we don't create the directory when it doesn't exist, and it won't after 'clean'.

> New Java build: refactor tests to use shared method for identifying temp file location
> --------------------------------------------------------------------------------------
>
>                 Key: AVRO-715
>                 URL: https://issues.apache.org/jira/browse/AVRO-715
>             Project: Avro
>          Issue Type: Task
>          Components: java
>            Reporter: Scott Carey
>            Assignee: Scott Carey
>             Fix For: 1.5.0
>
>
> Many tests individually write temp files based on relative paths, '/tmp', or reading from a system property.  These need to be refactored into one utility for handling the location of temp files for unit tests.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AVRO-715) New Java build: refactor tests to use shared method for identifying temp file location

Posted by "Scott Carey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Carey updated AVRO-715:
-----------------------------

    Priority: Minor  (was: Major)

minor, does not block 1.5.0

> New Java build: refactor tests to use shared method for identifying temp file location
> --------------------------------------------------------------------------------------
>
>                 Key: AVRO-715
>                 URL: https://issues.apache.org/jira/browse/AVRO-715
>             Project: Avro
>          Issue Type: Task
>          Components: java
>            Reporter: Scott Carey
>            Assignee: Scott Carey
>            Priority: Minor
>             Fix For: 1.5.0
>
>
> Many tests individually write temp files based on relative paths, '/tmp', or reading from a system property.  These need to be refactored into one utility for handling the location of temp files for unit tests.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AVRO-715) New Java build: refactor tests to use shared method for identifying temp file location

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AVRO-715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972674#action_12972674 ] 

Doug Cutting commented on AVRO-715:
-----------------------------------

I agree, target/test would be better.  We could try to get Maven to create that directory or we could change the tests to create it.

> New Java build: refactor tests to use shared method for identifying temp file location
> --------------------------------------------------------------------------------------
>
>                 Key: AVRO-715
>                 URL: https://issues.apache.org/jira/browse/AVRO-715
>             Project: Avro
>          Issue Type: Task
>          Components: java
>            Reporter: Scott Carey
>            Assignee: Scott Carey
>             Fix For: 1.5.0
>
>
> Many tests individually write temp files based on relative paths, '/tmp', or reading from a system property.  These need to be refactored into one utility for handling the location of temp files for unit tests.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (AVRO-715) New Java build: refactor tests to use shared method for identifying temp file location

Posted by "Scott Carey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Carey reassigned AVRO-715:
--------------------------------

    Assignee: Scott Carey

> New Java build: refactor tests to use shared method for identifying temp file location
> --------------------------------------------------------------------------------------
>
>                 Key: AVRO-715
>                 URL: https://issues.apache.org/jira/browse/AVRO-715
>             Project: Avro
>          Issue Type: Task
>          Components: java
>            Reporter: Scott Carey
>            Assignee: Scott Carey
>             Fix For: 1.5.0
>
>
> Many tests individually write temp files based on relative paths, '/tmp', or reading from a system property.  These need to be refactored into one utility for handling the location of temp files for unit tests.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AVRO-715) New Java build: refactor tests to use shared method for identifying temp file location

Posted by "Scott Carey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Carey updated AVRO-715:
-----------------------------

    Fix Version/s:     (was: 1.5.0)

> New Java build: refactor tests to use shared method for identifying temp file location
> --------------------------------------------------------------------------------------
>
>                 Key: AVRO-715
>                 URL: https://issues.apache.org/jira/browse/AVRO-715
>             Project: Avro
>          Issue Type: Task
>          Components: java
>            Reporter: Scott Carey
>            Assignee: Scott Carey
>            Priority: Minor
>
> Many tests individually write temp files based on relative paths, '/tmp', or reading from a system property.  These need to be refactored into one utility for handling the location of temp files for unit tests.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira