geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kh...@apache.org
Subject [geode] 01/01: GEODE-3980: Remove unneeded additional findAvailablePids calls
Date Mon, 20 Nov 2017 18:05:06 GMT
This is an automated email from the ASF dual-hosted git repository.

khowe pushed a commit to branch feature/GEODE-3980
in repository https://gitbox.apache.org/repos/asf/geode.git

commit abcaa3f570b418c0066eb706a9157ac06c43765b
Author: Ken Howe <khowe@pivotal.io>
AuthorDate: Mon Nov 20 09:58:45 2017 -0800

    GEODE-3980: Remove unneeded additional findAvailablePids calls
    
    The extra findAvailablePids calls result in flaky results on
    Windows.
---
 .../java/org/apache/geode/internal/process/lang/AvailablePidTest.java   | 2 --
 1 file changed, 2 deletions(-)

diff --git a/geode-core/src/test/java/org/apache/geode/internal/process/lang/AvailablePidTest.java
b/geode-core/src/test/java/org/apache/geode/internal/process/lang/AvailablePidTest.java
index 48ba235..62a5fd3 100644
--- a/geode-core/src/test/java/org/apache/geode/internal/process/lang/AvailablePidTest.java
+++ b/geode-core/src/test/java/org/apache/geode/internal/process/lang/AvailablePidTest.java
@@ -97,7 +97,6 @@ public class AvailablePidTest {
     assertThat(availablePid.findAvailablePids(2)).hasSize(2);
     assertThat(availablePid.findAvailablePids(3)).hasSize(3);
     assertThat(availablePid.findAvailablePids(5)).hasSize(5);
-    assertThat(availablePid.findAvailablePids(8)).hasSize(8);
   }
 
   @Test
@@ -106,7 +105,6 @@ public class AvailablePidTest {
     assertThatNoPidIsDuplicated(availablePid.findAvailablePids(2));
     assertThatNoPidIsDuplicated(availablePid.findAvailablePids(3));
     assertThatNoPidIsDuplicated(availablePid.findAvailablePids(5));
-    assertThatNoPidIsDuplicated(availablePid.findAvailablePids(8));
   }
 
   @Test

-- 
To stop receiving notification emails like this one, please contact
"commits@geode.apache.org" <commits@geode.apache.org>.

Mime
View raw message