This is an automated email from the ASF dual-hosted git repository.

jensdeppe pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new 25485b7  GEODE-5512: Correct check for Windows
25485b7 is described below

commit 25485b7192cb3c2b560b5802ff4ef1eeea30bbf6
Author: Jens Deppe <[email protected]>
AuthorDate: Wed Aug 1 20:07:55 2018 -0700

    GEODE-5512: Correct check for Windows
---
 .../geode/internal/statistics/GemFireStatSamplerIntegrationTest.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/geode-core/src/integrationTest/java/org/apache/geode/internal/statistics/GemFireStatSamplerIntegrationTest.java
 
b/geode-core/src/integrationTest/java/org/apache/geode/internal/statistics/GemFireStatSamplerIntegrationTest.java
index f7c0e6c..dbb227f 100644
--- 
a/geode-core/src/integrationTest/java/org/apache/geode/internal/statistics/GemFireStatSamplerIntegrationTest.java
+++ 
b/geode-core/src/integrationTest/java/org/apache/geode/internal/statistics/GemFireStatSamplerIntegrationTest.java
@@ -143,7 +143,7 @@ public class GemFireStatSamplerIntegrationTest extends 
StatSamplerTestCase {
   @Test
   public void testBasicProcessStats() throws Exception {
     final String osName = System.getProperty("os.name", "unknown");
-    assumeFalse(osName.equals("Windows"));
+    assumeFalse(osName.contains("Windows"));
 
     connect(createGemFireProperties());
     GemFireStatSampler statSampler = getGemFireStatSampler();

Reply via email to