mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chun-Hung Hsiao <chhs...@mesosphere.io>
Subject Review Request 61705: Added a mock CSI plugin and a unit test for CSI client classes.
Date Wed, 16 Aug 2017 23:13:44 GMT

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

Review request for mesos and Jie Yu.


Bugs: mesos-7491
    https://issues.apache.org/jira/browse/mesos-7491


Repository: mesos


Description
-------

The mock plugin simply starts the `Identity`, `Controller` and `Node`
CSI services and return a success with an empty response protocol buffer
for each RPC. The unit test verifies that each method in the CSI client
classes makes the corresponding RPC call through the gRPC interface in
libprocess.


Diffs
-----

  src/tests/csi_client_tests.cpp PRE-CREATION 
  src/tests/mock_csi_plugin.hpp PRE-CREATION 
  src/tests/mock_csi_plugin.cpp PRE-CREATION 


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


Testing
-------

Tests described in r/61706.


Thanks,

Chun-Hung Hsiao


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