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

Misconfigured backend unit tests do not generate logs.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 2.6.0, Impala 2.7.0
    • Impala 2.8.0
    • Infrastructure
    • None

    Description

      Some backend unittests do not follow our standard initialization and as a result do not generate logs logs/be_tests

      Some examples of misbehaving tests:
      runtime-profile-test.cc
      benchmark-test.cc

      The standard initialization looks like this:

      int main(int argc, char** argv) {
        ::testing::InitGoogleTest(&argc, argv);
        impala::InitCommonRuntime(argc, argv, true, impala::TestInfo::BE_TEST);
        impala::InitFeSupport(); // optional
        return RUN_ALL_TESTS();
      }
      

      Attachments

        Activity

          People

            alex.behm Alexander Behm
            alex.behm Alexander Behm
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: