Skip to content

Commit

Permalink
fix mockTxThrottler
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Vaillancourt <[email protected]>
  • Loading branch information
timvaillancourt committed Aug 20, 2024
1 parent a76eec9 commit 32ae433
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions go/vt/vttablet/tabletserver/query_executor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1857,8 +1857,9 @@ func (m mockTxThrottler) Open() (err error) {
return nil
}

func (m mockTxThrottler) Close() {
}
func (m mockTxThrottler) Close() {}
func (m mockTxThrottler) MakePrimary() {}
func (m mockTxThrottler) MakeNonPrimary() {}

func (m mockTxThrottler) Throttle(priority int, workload string) (result bool) {
return m.throttle
Expand Down

0 comments on commit 32ae433

Please sign in to comment.