Jarek Jarcec Cecho created SQOOP-2832:
-----------------------------------------
Summary: Sqoop2: Precommit: Create log files for individual tests
Key: SQOOP-2832
URL: https://issues.apache.org/jira/browse/SQOOP-2832
Project: Sqoop
Issue Type: Bug
Reporter: Jarek Jarcec Cecho
Assignee: Jarek Jarcec Cecho
Fix For: 1.99.7
I feel that debugging anything in our pre-commit hook is currently mission
impossible from several reasons. One of the main ones is that we're generating
one single log file that has [grown to 1GB in
size|https://builds.apache.org/job/PreCommit-SQOOP-Build/2185/artifact/test/target/surefire-reports/]
with all "test related" logs and I'm not even remotely able to find anything
there.
In normal case we would have one log per test class, but as we've refactored
our integration tests to run multiple classes inside single Suite, we're no
longer have that for free. We have done this change to cut the time it takes to
run the integration tests - before we were initializing mini clusters for each
class, which is extra ~40 seconds per class, so I don't think that reverting it
would be reasonable.
We should perhaps explore other ways how to get multiple log files.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)