mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrei Sekretenko <asekrete...@mesosphere.io>
Subject Review Request 72208: Ensured that MasterAPITest.ReservationUpdate waits for changes on agent.
Date Fri, 06 Mar 2020 18:41:14 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/72208/
-----------------------------------------------------------

Review request for mesos, Benjamin Mahler and Greg Mann.


Bugs: MESOS-10102
    https://issues.apache.org/jira/browse/MESOS-10102


Repository: mesos


Description
-------

This patch fixes flakiness in this test by making sure that,
before checking agent state via agent API, not only RESERVE_RESOURCES
call of master V1 API returns, but also the agent completes processing
messages from master.


Diffs
-----

  src/tests/api_tests.cpp d1368a74f0ab51ed9824bba1ddf0b7135a1d06a7 


Diff: https://reviews.apache.org/r/72208/diff/1/


Testing
-------

`./bin/mesos-tests.sh --gtest_filter="*ReservationUpdate*" --gtest_repeat=10000 --gtest_break_on_failure
--verbose` on a heavily loaded machine


Thanks,

Andrei Sekretenko


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