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

Make clean-up commands in TestCLI more specific

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.0
    • 1.0.0
    • tests
    • None

    Description

      Currently, some of the tests in TestCLI clean up by deleting the entire user directory:

      <cleanup-commands>
      <command>-fs NAMENODE -rm -r /user/USER_NAME</command>
      </cleanup-commands>

      If this directory exists prior to running the test and contains something other than subdirectories created during the test, stuff that shouldn't be deleted by TestCLI might get thrown out. The clean-up commands should specify which subdirectories and/or files to delete.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            dasha.boudnik Dasha Boudnik
            dasha.boudnik Dasha Boudnik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment