bump(github.com/goraft/raft): 6bf34b9

Move from coreos/raft to goraft/raft and update to latest.
This commit is contained in:
Ben Johnson
2014-03-24 15:09:47 -07:00
parent 7d4fda550d
commit 174b9ff343
95 changed files with 1269 additions and 1241 deletions

View File

@ -0,0 +1,19 @@
package raft
import (
"github.com/stretchr/testify/mock"
)
type mockStateMachine struct {
mock.Mock
}
func (m *mockStateMachine) Save() ([]byte, error) {
args := m.Called()
return args.Get(0).([]byte), args.Error(1)
}
func (m *mockStateMachine) Recovery(b []byte) error {
args := m.Called(b)
return args.Error(0)
}