Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-16819

findHangingTests.py should recognize tests with same name from different modules

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Later
    • None
    • None
    • None
    • None

    Description

      I was using findHangingTests.py on one of the 1.4 Jenkins builds:

      ERROR! Multiple tests with same name 'TestTableMapReduceUtil'. Might get wrong results for this test.
      ERROR! No test 'TestTableMapReduceUtil' found in hanging_tests. Might get wrong results for this test.
      ERROR! Multiple tests with same name 'TestHTablePool'. Might get wrong results for this test.
      ERROR! No test 'TestHTablePool' found in hanging_tests. Might get wrong results for this test.
      

      There are mapred.TestTableMapReduceUtil and mapreduce.TestTableMapReduceUtil which confused findHangingTests.py

      Similar issue with tests whose name contains $:

      Running org.apache.hadoop.hbase.client.TestHTablePool$TestHTableReusablePool
      Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.273 sec - in org.apache.hadoop.hbase.client.TestHTablePool$TestHTableReusablePool
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: