You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by kl...@apache.org on 2015/10/06 19:31:01 UTC

incubator-geode git commit: Fix failing test.

Repository: incubator-geode
Updated Branches:
  refs/heads/feature/GEODE-189-new 0e4df47bd -> 42b3e8399


Fix failing test.


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/42b3e839
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/42b3e839
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/42b3e839

Branch: refs/heads/feature/GEODE-189-new
Commit: 42b3e839927d9e2d1cce22bf600b033e68190d7f
Parents: 0e4df47
Author: Kirk Lund <kl...@pivotal.io>
Authored: Tue Oct 6 10:30:35 2015 -0700
Committer: Kirk Lund <kl...@pivotal.io>
Committed: Tue Oct 6 10:30:35 2015 -0700

----------------------------------------------------------------------
 .../logging/log4j/FastLoggerWithDefaultConfigJUnitTest.java      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/42b3e839/gemfire-core/src/test/java/com/gemstone/gemfire/internal/logging/log4j/FastLoggerWithDefaultConfigJUnitTest.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/test/java/com/gemstone/gemfire/internal/logging/log4j/FastLoggerWithDefaultConfigJUnitTest.java b/gemfire-core/src/test/java/com/gemstone/gemfire/internal/logging/log4j/FastLoggerWithDefaultConfigJUnitTest.java
index 2e08500..7069d20 100755
--- a/gemfire-core/src/test/java/com/gemstone/gemfire/internal/logging/log4j/FastLoggerWithDefaultConfigJUnitTest.java
+++ b/gemfire-core/src/test/java/com/gemstone/gemfire/internal/logging/log4j/FastLoggerWithDefaultConfigJUnitTest.java
@@ -1,6 +1,6 @@
 package com.gemstone.gemfire.internal.logging.log4j;
 
-import static org.hamcrest.CoreMatchers.*;
+import static org.hamcrest.Matchers.*;
 import static org.junit.Assert.*;
 
 import org.apache.logging.log4j.Logger;
@@ -41,7 +41,7 @@ public class FastLoggerWithDefaultConfigJUnitTest {
    */
   @Test
   public void configurationFilePropertyIsDefaultConfig() {
-    assertThat(System.getProperty(ConfigurationFactory.CONFIGURATION_FILE_PROPERTY), containsString(LogService.DEFAULT_CONFIG));
+    assertThat(System.getProperty(ConfigurationFactory.CONFIGURATION_FILE_PROPERTY), isEmptyOrNullString());
   }
   
   /**