You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/10/29 23:06:00 UTC

[jira] [Commented] (GEODE-7375) Metrics acceptance tests fail due to use of default/hard-coded ports

    [ https://issues.apache.org/jira/browse/GEODE-7375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16962520#comment-16962520 ] 

ASF subversion and git services commented on GEODE-7375:
--------------------------------------------------------

Commit 000073d1b0c2bb3a7cd331f6473e3b8600fc5da2 in geode's branch refs/heads/develop from Dale Emery
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=000073d ]

GEODE-7375: Fix metrics test port allocation (#4248)

Some metrics acceptance tests uses hard-coded ports, and others used
default ports for various processes. This caused failures in CI on
Windows.

These tests have been updated to allocate random ports.

Co-authored-by: Dale Emery <de...@pivotal.io>
Co-authored-by: Kirk Lund <kl...@apache.org>

> Metrics acceptance tests fail due to use of default/hard-coded ports
> --------------------------------------------------------------------
>
>                 Key: GEODE-7375
>                 URL: https://issues.apache.org/jira/browse/GEODE-7375
>             Project: Geode
>          Issue Type: Bug
>          Components: tests
>            Reporter: Dale Emery
>            Assignee: Dale Emery
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Several metrics acceptance test classes fail consistently on Windows:
>  * RegionEntriesGaugeTest
>  * MemberTypeCommonTagsTest
> These tests either use hard-coded ports or default ports for various purposes. On Windows, the ports sometimes class between tests, causing bind failures.
> Other metrics acceptance test classes are vulnerable to similar failures.
> Example CI failure: [https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-main/jobs/WindowsAcceptanceTestOpenJDK11/builds/974]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)