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

TestCLI: make ports optional in regex comparators

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.7.0
    • Fix Version/s: 0.8.0
    • Component/s: tests
    • Labels:
      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

        1. BIGTOP-1239.patch
          11 kB
          Dasha Boudnik
        2. BIGTOP-1239.patch
          11 kB
          Dasha Boudnik

          Activity

            People

            • Assignee:
              dasha.boudnik Dasha Boudnik
              Reporter:
              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