Fixed unit tests
This commit is contained in:
parent
4809cdb4e6
commit
5c373fa7d8
1 changed files with 1 additions and 2 deletions
|
|
@ -124,9 +124,8 @@ func (m *mockCheckpointer) wait() error {
|
||||||
func (m *mockCheckpointer) Shutdown() {
|
func (m *mockCheckpointer) Shutdown() {
|
||||||
m.shutdown <- struct{}{}
|
m.shutdown <- struct{}{}
|
||||||
}
|
}
|
||||||
func (m *mockCheckpointer) Checkpoint(pair kcl.SequencePair, retry int) error {
|
func (m *mockCheckpointer) Checkpoint(pair kcl.SequencePair) {
|
||||||
m.checkpoint <- pair.Sequence.String()
|
m.checkpoint <- pair.Sequence.String()
|
||||||
return nil
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func encode(str string) string {
|
func encode(str string) string {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue