Controller rpc tests (#2709)

* Test code for controller-handler operations:

* Heal operations
* List operation
* Switch to "testing" lib, moving away from gocheck
* Minor refactors

* Remove extra call to initGracefulShutdown

* Remove dead code in mainControl:

Dead code found by the TestControlMain() test function that always
passes.

* Add tests for control-*-main.go
This commit is contained in:
Aditya Manthramurthy
2016-09-21 19:58:50 -07:00
committed by Harshavardhana
parent 559ad38b8c
commit 32f097b4d6
7 changed files with 295 additions and 57 deletions
+2 -2
View File
@@ -127,8 +127,8 @@ type ShutdownArgs struct {
// Authentication token generated by Login.
GenericArgs
// Should the server be restarted, call active connections are served before server
// is restarted.
// Should the server be restarted, all active connections are
// served before server is restarted.
Restart bool
}