[
https://issues.apache.org/jira/browse/GEODE-6860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16944875#comment-16944875
]
ASF subversion and git services commented on GEODE-6860:
--------------------------------------------------------
Commit 7c85de04bff6d95ada278ff2c25bc567e7890038 in geode's branch
refs/heads/develop from Kirk Lund
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=7c85de0 ]
GEODE-6860: Cleanup AvailablePortHelperIntegrationTest
* Reduce excessive runtime loops
* Rewrite tests using newer JDK utilities and AssertJ
* Remove parameters from tests that don't need them
> AvailablePortHelperIntegrationTest.getRandomAvailableTCPPortRange_returnsUniqueRanges
> runs for too long
> -------------------------------------------------------------------------------------------------------
>
> Key: GEODE-6860
> URL: https://issues.apache.org/jira/browse/GEODE-6860
> Project: Geode
> Issue Type: Test
> Components: tests
> Reporter: Kirk Lund
> Assignee: Kirk Lund
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> AvailablePortHelperIntegrationTest.getRandomAvailableTCPPortRange_returnsUniqueRanges
> runs for too long. On a 12-core i9-8950HK 2.90GHz, the test takes 16.5
> minutes to run. Looking at the test, I see it has a for-loop of 1000
> iterations which seems excessive.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)