Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-1246

Fix the shell-object bug in HttpFs smoke tests

    Details

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

      Description

      jun aoki 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:

      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);
      

        Attachments

        1. BIGTOP-1246.1.patch
          5 kB
          Adam Kawa
        2. BIGTOP-1246.2.patch
          5 kB
          Adam Kawa

          Activity

            People

            • Assignee:
              kawaa Adam Kawa
              Reporter:
              kawaa Adam Kawa
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: