From a93941fac2b6d8ef0169f9a174aeb104e5133636 Mon Sep 17 00:00:00 2001 From: John Blum Date: Wed, 13 Aug 2014 01:16:00 -0700 Subject: [PATCH] Changing test output/logging to using System.out instead of System.err. --- .../gemfire/CacheClusterConfigurationIntegrationTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/java/org/springframework/data/gemfire/CacheClusterConfigurationIntegrationTest.java b/src/test/java/org/springframework/data/gemfire/CacheClusterConfigurationIntegrationTest.java index 1ef00476..4432ecf5 100644 --- a/src/test/java/org/springframework/data/gemfire/CacheClusterConfigurationIntegrationTest.java +++ b/src/test/java/org/springframework/data/gemfire/CacheClusterConfigurationIntegrationTest.java @@ -82,9 +82,9 @@ public class CacheClusterConfigurationIntegrationTest { public TestRule watchman = new TestWatcher() { @Override protected void failed(final Throwable t, final Description description) { try { - System.err.println(String.format("Test '%1$s' failed...", description.getDisplayName())); - System.err.println(ThrowableUtils.toString(t)); - System.err.println("Locator process log file contents were..."); + System.out.println(String.format("Test '%1$s' failed...", description.getDisplayName())); + System.out.println(ThrowableUtils.toString(t)); + System.out.println("Locator process log file contents were..."); String locatorProcessOutputString = StringUtils.collectionToDelimitedString(locatorProcessOutput, FileUtils.LINE_SEPARATOR, String.format("[%1$s] - ", description.getMethodName()), ""); @@ -92,7 +92,7 @@ public class CacheClusterConfigurationIntegrationTest { locatorProcessOutputString = (StringUtils.hasText(locatorProcessOutputString) ? locatorProcessOutputString : locatorProcess.readLogFile()); - System.err.println(locatorProcessOutputString); + System.out.println(locatorProcessOutputString); } catch (IOException e) { throw new RuntimeException("Failed to read the contents of the Locator process log file!", e);