mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yongqiao Wang <>
Subject Re: Review Request 44511: Add registry tests for /weights endpoint.
Date Mon, 14 Mar 2016 13:51:41 GMT

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

(Updated March 14, 2016, 1:51 p.m.)

Review request for mesos and Adam B.


Addressed comments of Adam.

Bugs: MESOS-4797

Repository: mesos


Add registry tests for /weights endpoint.

Diffs (updated)

  src/tests/dynamic_weights_tests.cpp a95663f633f376954d4201b6cfbe693429be9c39 
  src/tests/registrar_tests.cpp c330af2a190282e159d9ab477cdc36a7881842cd 



Add three sub tests for /weights endpoint registry in this patch:

1. Tests whether the weights replicated log is initialized with the `--weights` flag when
bootstrapping the cluster.
2. Tests whether the weights replicated log can be updated with `/weights` endpoint.
3. Tests whether the `--weights` flag is ignored and use the registry value instead when Mesos
master subsequently starts with `--weights` flag still specified.

make && make check.


Yongqiao Wang

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