Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-2730

skipif decorator logs wrong message

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Not A Bug
    • Impala 2.3.0
    • None
    • Infrastructure

    Description

      When multiple SkipIf decorators are used and the test is skipped due to one of them, the message that is logged is the message of the first SkipIf decorator (even if the condition of that decorator is false).

      Example:

      $ export TARGET_FILESYSTEM="s3"
      $ run-tests.py metadata/test_hms_integration.py -k test_hive_db_hive_table_add_partition

      This will output "Hive not tested with Isilon" to tests/results/TEST-impala-serial.log.
      Changing the order of the decorators of TestHmsIntegration in metadata/test_hms_integration.py changes the log message.

      Attachments

        Activity

          People

            mikeb Michael Brown
            vlad2901 Vlad Berindei
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: