Skip to content

Commit

Permalink
FastForward
Browse files Browse the repository at this point in the history
  • Loading branch information
junqiang.zhang committed Apr 30, 2022
1 parent 7ae6da8 commit 205f3e1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions redis/mock_redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ func NewMockRedisServer() *MockRedisServer {
return &svc
}

func (m *MockRedisServer) FastForward(duration time.Duration) {
m.redisServer.FastForward(duration)
}

func (m *MockRedisServer) GetRedisClient() *redis.Client {
var opt redis.Options
opt.Addr = m.redisServer.Addr()
Expand Down

0 comments on commit 205f3e1

Please sign in to comment.