flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-7880) flink-queryable-state-java fails with core-dump
Date Wed, 29 Nov 2017 14:42:04 GMT

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

ASF GitHub Bot commented on FLINK-7880:
---------------------------------------

Github user zentol commented on a diff in the pull request:

    https://github.com/apache/flink/pull/5062#discussion_r153790032
  
    --- Diff: flink-queryable-state/flink-queryable-state-runtime/src/test/java/org/apache/flink/queryablestate/network/AbstractServerTest.java
---
    @@ -60,23 +63,17 @@ public void testServerInitializationFailure() throws Throwable {
     		expectedEx.expect(FlinkRuntimeException.class);
     		expectedEx.expectMessage("Unable to start Test Server 2. All ports in provided range
are occupied.");
     
    -		TestServer server1 = null;
    -		TestServer server2 = null;
    -		try {
    +		List<Integer> portList = new ArrayList<>();
    +		portList.add(7777);
     
    -			server1 = startServer("Test Server 1", 7777);
    +		try (
    +				TestServer server1 = new TestServer("Test Server 1", new DisabledKvStateRequestStats(),
portList.iterator());
    --- End diff --
    
    a safer pattern is to give `server1` multiple ports to choose from and specifically start
`server2` on the port `server1` eventually started with.


> flink-queryable-state-java fails with core-dump
> -----------------------------------------------
>
>                 Key: FLINK-7880
>                 URL: https://issues.apache.org/jira/browse/FLINK-7880
>             Project: Flink
>          Issue Type: Bug
>          Components: Queryable State, Tests
>    Affects Versions: 1.4.0
>            Reporter: Till Rohrmann
>            Assignee: Kostas Kloudas
>            Priority: Critical
>              Labels: test-stability
>
> The {{flink-queryable-state-java}} module fails on Travis with a core dump.
> https://travis-ci.org/tillrohrmann/flink/jobs/289949829



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message