suppress errors logged by rpcs.Register(*MapReduce)
For lab 1, parts II and III:
When running go test
in mapreduce
, the following errors are logged by rpcs.Register
:
2016/01/03 21:30:29 method CleanupFiles has wrong number of ins: 1
2016/01/03 21:30:29 method CleanupRegistration has wrong number of ins: 1
2016/01/03 21:30:29 method KillWorkers has wrong number of ins: 1
... more similar errors
(See https://golang.org/pkg/net/rpc/#Server.Register for an explanation.)
These errors are not due to student solution code, so I think that they should either be suppressed (as this commit does) or mentioned in the lab 1 wiki.