Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Bo-Yi Wu <[email protected]>
  • Loading branch information
appleboy committed Jan 22, 2025
1 parent c16bef9 commit 6702165
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metric/metrics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ func TestNewMetrics(t *testing.T) {
time.Sleep(10 * time.Millisecond)
defer q.Release()
m := NewMetrics(q)
assert.Equal(t, 2, m.q.SubmittedTasks())
assert.Equal(t, 2, m.q.SuccessTasks())
assert.Equal(t, uint64(2), m.q.SubmittedTasks())
assert.Equal(t, uint64(2), m.q.SuccessTasks())
}

0 comments on commit 6702165

Please sign in to comment.