Skip to content

Commit

Permalink
Rename variables
Browse files Browse the repository at this point in the history
  • Loading branch information
jkuradobery committed Sep 9, 2024
1 parent b16adcf commit 22631b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cloud/tasks/tasks_tests/tasks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1252,7 +1252,7 @@ func TestHangingTasksMetrics(t *testing.T) {
gaugeSetWg := sync.WaitGroup{}
gaugeUnsetWg := sync.WaitGroup{}

gaugeSet1IDCall := registry.GetGauge(
gaugeSetCall := registry.GetGauge(
"hangingTasks",
map[string]string{"type": "tasks.hanging", "id": taskID},
).On("Set", float64(1)).Return(mock.Anything).Run(
Expand All @@ -1269,7 +1269,7 @@ func TestHangingTasksMetrics(t *testing.T) {
"Set",
float64(0),
).NotBefore(
gaugeSet1IDCall,
gaugeSetCall,
).Return(mock.Anything).Run(
func(args mock.Arguments) {
gaugeUnsetWg.Done()
Expand Down

0 comments on commit 22631b8

Please sign in to comment.