You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Peter Linnell (JIRA)" <ji...@apache.org> on 2014/03/07 19:45:43 UTC

[jira] [Commented] (BIGTOP-1246) Fix the shell-object bug in HttpFs smoke tests

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

Peter Linnell commented on BIGTOP-1246:
---------------------------------------

Not sure how groovy handles this, but keep in mind we have standardized on /bin/bash to ensure consistent behavior throughout Bigtop. 

> Fix the shell-object bug in HttpFs smoke tests
> ----------------------------------------------
>
>                 Key: BIGTOP-1246
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-1246
>             Project: Bigtop
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>            Reporter: Adam Kawa
>            Priority: Minor
>             Fix For: 0.8.0
>
>         Attachments: BIGTOP-1246.1.patch
>
>
> [~jaoki] has identified a bug in HttpFs smoke tests, where a different shell object was used to verify the return code from the command, than the one that really executed this command:
> {code}
> 110         sh.exec("curl -i -X DELETE '$HTTPFS_PREFIX$testHttpFsFolder?user.name=$USERNAME&op=DELETE'");
> 111         assertTrue("curl command to delete a dir failed", shHDFS.getRet() == 0);
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)