Skip to content

Commit

Permalink
kvserver: minor test improvement
Browse files Browse the repository at this point in the history
Remove an unncecessary clock.

Release note: None
Release justification: test only
  • Loading branch information
andreimatei committed Aug 28, 2021
1 parent 56afa9f commit d59529f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/kv/kvserver/node_liveness_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1020,12 +1020,8 @@ func TestNodeLivenessRetryAmbiguousResultError(t *testing.T) {
return nil
}
ctx := context.Background()
manualClock := hlc.NewHybridManualClock()
serv, _, _ := serverutils.StartServer(t, base.TestServerArgs{
Knobs: base.TestingKnobs{
Server: &server.TestingKnobs{
ClockSource: manualClock.UnixNano,
},
Store: &kvserver.StoreTestingKnobs{
EvalKnobs: kvserverbase.BatchEvalTestingKnobs{
TestingEvalFilter: testingEvalFilter,
Expand Down

0 comments on commit d59529f

Please sign in to comment.