You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by jbertram <gi...@git.apache.org> on 2018/02/16 18:54:19 UTC

[GitHub] activemq-artemis pull request #1874: ARTEMIS-1687 reduce logging for fast-te...

GitHub user jbertram opened a pull request:

    https://github.com/apache/activemq-artemis/pull/1874

    ARTEMIS-1687 reduce logging for fast-tests

    Logging for the "fast-tests" profile used for PR builds could be reduced
    significantly. This would save time as well as prevent log truncation
    (Travis CI only supports logs up to 4MB).

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jbertram/activemq-artemis ARTEMIS-1687

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/1874.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1874
    
----
commit 63765fb95de98d62fe4993fc8fd021e07a1d65ba
Author: Justin Bertram <jb...@...>
Date:   2018-02-16T18:50:26Z

    ARTEMIS-1687 reduce logging for fast-tests
    
    Logging for the "fast-tests" profile used for PR builds could be reduced
    significantly. This would save time as well as prevent log truncation
    (Travis CI only supports logs up to 4MB).

----


---

[GitHub] activemq-artemis pull request #1874: ARTEMIS-1687 reduce logging for fast-te...

Posted by clebertsuconic <gi...@git.apache.org>.
Github user clebertsuconic commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/1874#discussion_r169118349
  
    --- Diff: tests/unit-tests/src/test/java/org/apache/activemq/artemis/tests/unit/ra/ActiveMQResourceAdapterConfigTest.java ---
    @@ -457,10 +456,7 @@ public void testConfiguration() throws Exception {
                 newConfig.append("         \"         <config-property-value></config-property-value>\" + \n");
                 newConfig.append("         \"      </config-property>\" + \n");
              }
    -         System.out.println(newConfig);
              fail("methods not shown please see previous and add");
    --- End diff --
    
    this is only if failed, right? can't we keep it? it will tell us what is the exactly config that needs to be added (when only there's a failure)


---

[GitHub] activemq-artemis pull request #1874: ARTEMIS-1687 reduce logging for fast-te...

Posted by clebertsuconic <gi...@git.apache.org>.
Github user clebertsuconic commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/1874#discussion_r169117936
  
    --- Diff: artemis-server/src/test/java/org/apache/activemq/artemis/tests/util/ActiveMQTestBase.java ---
    @@ -365,8 +365,6 @@ public void setUp() throws Exception {
           InVMRegistry.instance.clear();
     
           // checkFreePort(TransportConstants.DEFAULT_PORT);
    -
    -      logAndSystemOut("#test " + getName());
    --- End diff --
    
    This one I actually think it's important. When looking at failures this will correlate logs with the test. Not having this will make it harder to find what tests are failing because of a bad logging.


---

[GitHub] activemq-artemis pull request #1874: ARTEMIS-1687 reduce logging for fast-te...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/activemq-artemis/pull/1874


---

[GitHub] activemq-artemis pull request #1874: ARTEMIS-1687 reduce logging for fast-te...

Posted by jbertram <gi...@git.apache.org>.
Github user jbertram commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/1874#discussion_r169119878
  
    --- Diff: artemis-server/src/test/java/org/apache/activemq/artemis/tests/util/ActiveMQTestBase.java ---
    @@ -365,8 +365,6 @@ public void setUp() throws Exception {
           InVMRegistry.instance.clear();
     
           // checkFreePort(TransportConstants.DEFAULT_PORT);
    -
    -      logAndSystemOut("#test " + getName());
    --- End diff --
    
    This bit of information should already be logged by the "watch" rule.


---