Skip to content

Commit cc5faf5

Browse files
committed
server: copy StubTimeNow server testing knobs to tenants
1 parent 6accbb6 commit cc5faf5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/server/testserver.go

+1
Original file line numberDiff line numberDiff line change
@@ -671,6 +671,7 @@ func (ts *testServer) setupTenantTestingKnobs(tenantKnobs *base.TestingKnobs) {
671671
InjectedLatencyOracle: ts.params.Knobs.Server.(*TestingKnobs).ContextTestingKnobs.InjectedLatencyOracle,
672672
InjectedLatencyEnabled: ts.params.Knobs.Server.(*TestingKnobs).ContextTestingKnobs.InjectedLatencyEnabled,
673673
}
674+
tenantKnobs.Server.(*TestingKnobs).StubTimeNow = ts.params.Knobs.Server.(*TestingKnobs).StubTimeNow
674675
}
675676
}
676677

0 commit comments

Comments
 (0)