Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mattisonchao committed Nov 13, 2024
1 parent f240dde commit 757ef4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/follower_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func TestFollower(t *testing.T) {
fc, err = NewFollowerController(Config{}, common.DefaultNamespace, shardId, walFactory, kvFactory)
assert.NoError(t, err)
assert.Equal(t, proto.ServingStatus_NOT_MEMBER, fc.Status())
fenceRes, err = fc.NewTerm(&proto.NewTermRequest{Term: 2})
_, err = fc.NewTerm(&proto.NewTermRequest{Term: 2})
assert.NoError(t, err)
assert.Equal(t, proto.ServingStatus_FENCED, fc.Status())
assert.EqualValues(t, 2, fc.Term())
Expand Down

0 comments on commit 757ef4d

Please sign in to comment.