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

Kevin Klues commented on MESOS-8955:
------------------------------------

{noformat}
commit 77921200a69564f966917bfc8e07a3d1e3ada196
Author: Armand Grillet <[email protected]>
Date:   Fri Jul 6 15:52:28 2018 +0200

    Refactored base of Python CLI tests.
    
    This patch mostly adds additional hardening to make sure we error out
    with proper error messages in places where we weren't before.
    
    However, as part of this, we also fixed a bug related to referencing
    counting Master, Agent, and Task objects. Previously, this reference
    count would increased in '__init__()' and decreased in '__del__()'.
    However, this caused problems when limiting the number of agents and
    masters to exactly 1, because we could never guarantee when the python
    garbage collector would kick in to delete objects from previous test
    runs. This manifested itself as flaky test failures. To fix this, we
    now reference count only on explicit counts to 'launch()' and 'kill()'
    instead of in '__init__()' and '__del__()'.
    
    Review: https://reviews.apache.org/r/67842/
{noformat}

> Manage Python2 and 3 in build steps
> -----------------------------------
>
>                 Key: MESOS-8955
>                 URL: https://issues.apache.org/jira/browse/MESOS-8955
>             Project: Mesos
>          Issue Type: Improvement
>            Reporter: Armand Grillet
>            Assignee: Armand Grillet
>            Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to