[2/2] mesos git commit: Fixed a subscriber FD leak when running tests.

2016-07-17 Thread anand
Fixed a subscriber FD leak when running tests. This FD leak would only surface when running tests. We hold on to a reference of the \`Connection\` object in the client so that it is not destroyed while the connection is active. When running tests, the IP:Port of libprocess remain the same which

[1/2] mesos git commit: Fixed the flaky `MasterAPITest.Subscribe` test.

2016-07-17 Thread anand
Repository: mesos Updated Branches: refs/heads/master d6a2c8783 -> 44e10cb2a Fixed the flaky `MasterAPITest.Subscribe` test. The test was flaky because `Clock::settle()` does not ensure that data in flight (on the wire) is also flushed. Hence, sometimes the update used to be sent by the