Skip to content

Commit

Permalink
feat: fix test expectations
Browse files Browse the repository at this point in the history
Signed-off-by: Manan Gupta <manan@planetscale.com>
  • Loading branch information
GuptaManan100 committed Feb 25, 2025
1 parent 8c04a0a commit f129aa0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/vt/vttablet/tabletserver/txthrottler/tx_throttler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ func TestEnabledThrottler(t *testing.T) {
ts := memorytopo.NewServer(ctx, "cell1", "cell2")

mockHealthCheck := NewMockHealthCheck(mockCtrl)
hcCall1 := mockHealthCheck.EXPECT().Subscribe("TestEnabledThrottler")
hcCall1.Do(func() {})
hcCall1 := mockHealthCheck.EXPECT().Subscribe("TxThrottler")
hcCall1.Do(func(string) {})
hcCall2 := mockHealthCheck.EXPECT().RegisterStats()
hcCall2.Do(func() {})
hcCall2.After(hcCall1)
Expand Down

0 comments on commit f129aa0

Please sign in to comment.