You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Adam Kawa (JIRA)" <ji...@apache.org> on 2014/03/07 19:17:45 UTC
[jira] [Updated] (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:all-tabpanel ]
Adam Kawa updated BIGTOP-1246:
------------------------------
Attachment: BIGTOP-1246.1.patch
The patch removes a useless "shHDFS" object and uses "sh" everywhere.
> 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)