[ 
https://issues.apache.org/jira/browse/GEODE-5741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16617836#comment-16617836
 ] 

ASF subversion and git services commented on GEODE-5741:
--------------------------------------------------------

Commit c1311bfc70f2a68ac1add9e29a9e0d09de1bd732 in geode's branch 
refs/heads/develop from [~khowe]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=c1311bf ]

GEODE-5741: Modified tests to be independant of environment (#2483)

Tests using relative paths had depended on running as a user other root.
The tests expceted that file or directpory creation would fail because the user
would not have permission to write to '/'.

A further problem was the several tests had hardcoded '/' in pathnames,
which is incompatible with running on Windows.

> StartLocatorCommandDUnitTest relative directory tests are not build 
> environment independant
> -------------------------------------------------------------------------------------------
>
>                 Key: GEODE-5741
>                 URL: https://issues.apache.org/jira/browse/GEODE-5741
>             Project: Geode
>          Issue Type: Bug
>          Components: gfsh
>            Reporter: Kenneth Howe
>            Assignee: Kenneth Howe
>            Priority: Major
>              Labels: pull-request-available, swat
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The tests that attempt to start locators from paths at the file system root, 
> '/', expect to fail directory creation due to no write permission. However, 
> if the tests are run as root, then directory creation succeeds.
> These tests furthermore use paths with hardcoded '/' in the paths so they 
> will not run properly on Windows.
> The tests shold be made system and build/test environment independent.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to