mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Meng Zhu <>
Subject Review Request 69194: Fixed test `MesosContainerizerSlaveRecoveryTest.ResourceStatistics`.
Date Fri, 26 Oct 2018 22:34:51 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for mesos and Joseph Wu.

Bugs: MESOS-5048

Repository: mesos


`MesosContainerizerSlaveRecoveryTest.ResourceStatistics` is flaky
due to a race between agent restarting in the test and agent
delivering queued tasks to registered executor. If queued task is
delivered before agent restarts, an unexpected
`MesosContainerizerProcess::update()` would be triggered, thus
failing the test. This patch eliminates the race by explicitly
waiting for the `update()` call before triggering the agent restart.


  src/tests/slave_recovery_tests.cpp 4bf0229a51b4cf60ddd84d15e84d6ce9fddd2608 



ran `MesosContainerizerSlaveRecoveryTest.ResourceStatistics` continuously without failure.


Meng Zhu

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message