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

Misconfigured backend unit tests do not generate logs.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Impala 2.6.0, Impala 2.7.0
    • Fix Version/s: Impala 2.8.0
    • Component/s: Infrastructure
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: