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

TestCLI: make ports optional in regex comparators

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

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.7.0
    • 0.8.0
    • tests
    • None

    Description

      The following is seen in a multi-node configuration in HA:

      14/03/03 19:32:40 INFO cli.CLITestHelper: -------------------------------------------
      14/03/03 19:32:40 INFO cli.CLITestHelper:                     Test ID: [256]
      14/03/03 19:32:40 INFO cli.CLITestHelper:            Test Description: [mkdir: Test for NAMENODE path - creating a directory with the name of an already existing directory]
      14/03/03 19:32:40 INFO cli.CLITestHelper: 
      14/03/03 19:32:40 INFO cli.CLITestHelper:               Test Commands: [-fs hdfs://myCluster -mkdir hdfs://myCluster/tmp/testcli_1393903659798/dir0]
      14/03/03 19:32:40 INFO cli.CLITestHelper:               Test Commands: [-fs hdfs://myCluster -mkdir hdfs://myCluster/tmp/testcli_1393903659798/dir0]
      14/03/03 19:32:40 INFO cli.CLITestHelper: 
      14/03/03 19:32:40 INFO cli.CLITestHelper:            Cleanup Commands: [-fs hdfs://myCluster -rm -r hdfs://myCluster/tmp/testcli_1393903659798/dir0]
      14/03/03 19:32:40 INFO cli.CLITestHelper: 
      14/03/03 19:32:40 INFO cli.CLITestHelper:                  Comparator: [RegexpComparator]
      14/03/03 19:32:40 INFO cli.CLITestHelper:          Comparision result:   [fail]
      14/03/03 19:32:40 INFO cli.CLITestHelper:             Expected output:   [mkdir: `hdfs://\w+[-.a-z0-9]*:[0-9]+/tmp/testcli_1393903659798/dir0': File exists]
      14/03/03 19:32:40 INFO cli.CLITestHelper:               Actual output:   [mkdir: `hdfs://myCluster/tmp/testcli_1393903659798/dir0': File exists
      ]
      14/03/03 19:32:40 INFO cli.CLITestHelper: 

      A couple dozen other tests fail for the same reason.

      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:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified

                Slack

                  Issue deployment