----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/69839/ -----------------------------------------------------------
Review request for mesos, Alexander Rukletsov and Vinod Kone. Bugs: MESOS-9210 https://issues.apache.org/jira/browse/MESOS-9210 Repository: mesos Description ------- The HTTP scheduler API dictates that on a single connection, the scheduler may only send a single SUBSCRIBE request. Due to some authentication related refactorings, this contract got broken. Adds an additional test validating that the library was enforcing the above contract. Diffs ----- src/scheduler/scheduler.cpp cb24ba9c8e1d04b8c62bdf07b12758a61b3bf036 src/tests/scheduler_tests.cpp b571bb1d20744b943580677a26db4c12c7c311d1 Diff: https://reviews.apache.org/r/69839/diff/1/ Testing ------- manual testing; Running the included test without patching `scheduler.cpp` -> fails as the master does in fact receive two SUBSCRIBE requests. `make check` Thanks, Till Toenshoff