mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chun-Hung Hsiao <chhs...@apache.org>
Subject Review Request 69521: Fixed test `AgentResourceProviderConfigApiTest.Update` for the `vendor` field.
Date Fri, 07 Dec 2018 04:35:35 GMT

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

Review request for mesos, Benjamin Bannier, Jie Yu, and Jan Schlicht.


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


Repository: mesos


Description
-------

The introduction of the `Resource.DiskInfo.Source.vendor` changes the
resource comparison and thus breaks this test. This patch fixes the test
and make it more robust.

NOTE: The updated test will fail unless the previous patch (which sets
up the `vendor` field) is also applied.


Diffs
-----

  src/tests/agent_resource_provider_config_api_tests.cpp 15c83b33505a7926d1069c97f808feb9626f81f0



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


Testing
-------

make check


Thanks,

Chun-Hung Hsiao


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