You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by tillrohrmann <gi...@git.apache.org> on 2016/06/06 14:22:16 UTC

[GitHub] flink pull request #2076: [FLINK-2832] [tests] Hardens RandomSamplerTest

GitHub user tillrohrmann opened a pull request:

    https://github.com/apache/flink/pull/2076

    [FLINK-2832] [tests] Hardens RandomSamplerTest

    Increase the level of significance from p=0.01 to p=0.001 and add retry annotations
    to random sampler tests. This should decrease the probability of failing random
    sampler tests.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tillrohrmann/flink fixRandomSamplerTest

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/2076.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2076
    
----
commit 3bf500eccd41e4094cd7951954bf44de845cb3ce
Author: Till Rohrmann <tr...@apache.org>
Date:   2016-06-06T14:19:30Z

    [FLINK-2832] [tests] Hardens RandomSamplerTest
    
    Increase the level of significance from p=0.01 to p=0.001 and add retry annotations
    to random sampler tests. This should decrease the probability of failing random
    sampler tests.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] flink pull request #2076: [FLINK-2832] [tests] Hardens RandomSamplerTest

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/flink/pull/2076


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] flink pull request #2076: [FLINK-2832] [tests] Hardens RandomSamplerTest

Posted by chiwanpark <gi...@git.apache.org>.
Github user chiwanpark commented on a diff in the pull request:

    https://github.com/apache/flink/pull/2076#discussion_r65999988
  
    --- Diff: flink-java/src/test/resources/logback-test.xml ---
    @@ -0,0 +1,34 @@
    +<!--
    +  ~ Licensed to the Apache Software Foundation (ASF) under one
    +  ~ or more contributor license agreements.  See the NOTICE file
    +  ~ distributed with this work for additional information
    +  ~ regarding copyright ownership.  The ASF licenses this file
    +  ~ to you under the Apache License, Version 2.0 (the
    +  ~ "License"); you may not use this file except in compliance
    +  ~ with the License.  You may obtain a copy of the License at
    +  ~
    +  ~     http://www.apache.org/licenses/LICENSE-2.0
    +  ~
    +  ~ Unless required by applicable law or agreed to in writing, software
    +  ~ distributed under the License is distributed on an "AS IS" BASIS,
    +  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    +  ~ See the License for the specific language governing permissions and
    +  ~ limitations under the License.
    +  -->
    +
    +<configuration>
    +    <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
    +        <encoder>
    +            <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{60} %X{sourceThread} - %msg%n</pattern>
    +        </encoder>
    +    </appender>
    +
    +    <root level="WARN">
    +        <appender-ref ref="STDOUT"/>
    +    </root>
    +    
    +    <logger name="org.apache.flink.api.common.io.DelimitedInputFormat" level="OFF"/>
    +    <logger name="org.apache.flink.api.common.io.FileInputFormat" level="OFF"/>
    +    <logger name="org.apache.flink.configuration.GlobalConfiguration" level="OFF"/>
    +    <logger name="org.apache.flink.configuration.Configuration" level="OFF"/>
    +</configuration>
    --- End diff --
    
    we need to add new line


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] flink issue #2076: [FLINK-2832] [tests] Hardens RandomSamplerTest

Posted by chiwanpark <gi...@git.apache.org>.
Github user chiwanpark commented on the issue:

    https://github.com/apache/flink/pull/2076
  
    Failing Travis is not related to this PR. Looks good to me!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] flink issue #2076: [FLINK-2832] [tests] Hardens RandomSamplerTest

Posted by StephanEwen <gi...@git.apache.org>.
Github user StephanEwen commented on the issue:

    https://github.com/apache/flink/pull/2076
  
    Merging this, addressing @chiwanpark 's comments...


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] flink pull request #2076: [FLINK-2832] [tests] Hardens RandomSamplerTest

Posted by chiwanpark <gi...@git.apache.org>.
Github user chiwanpark commented on a diff in the pull request:

    https://github.com/apache/flink/pull/2076#discussion_r65999973
  
    --- Diff: flink-java/src/test/resources/log4j-test.properties ---
    @@ -0,0 +1,27 @@
    +#
    +# Licensed to the Apache Software Foundation (ASF) under one
    +# or more contributor license agreements.  See the NOTICE file
    +# distributed with this work for additional information
    +# regarding copyright ownership.  The ASF licenses this file
    +# to you under the Apache License, Version 2.0 (the
    +# "License"); you may not use this file except in compliance
    +# with the License.  You may obtain a copy of the License at
    +#
    +#     http://www.apache.org/licenses/LICENSE-2.0
    +#
    +# Unless required by applicable law or agreed to in writing, software
    +# distributed under the License is distributed on an "AS IS" BASIS,
    +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    +# See the License for the specific language governing permissions and
    +# limitations under the License.
    +#
    +
    +# Set root logger level to OFF to not flood build logs
    +# set manually to INFO for debugging purposes
    +log4j.rootLogger=OFF, testlogger
    +
    +# A1 is set to be a ConsoleAppender.
    +log4j.appender.testlogger=org.apache.log4j.ConsoleAppender
    +log4j.appender.testlogger.target = System.err
    --- End diff --
    
    Spaces around `=`


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---