Skip to content

Commit

Permalink
revert test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
HDT3213 committed Feb 16, 2024
1 parent 2e259ed commit f63cf13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions delayqueue_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func TestDelayQueue_consume(t *testing.T) {
t.Error(err)
}
}
for i := 0; i < 10; i++ {
for i := 0; i < 10*size; i++ {
err := queue.consume()
if err != nil {
t.Errorf("consume error: %v", err)
Expand Down Expand Up @@ -85,7 +85,7 @@ func TestDelayQueueOnCluster(t *testing.T) {
t.Error(err)
}
}
for i := 0; i < size; i++ {
for i := 0; i < 10*size; i++ {
err := queue.consume()
if err != nil {
t.Errorf("consume error: %v", err)
Expand Down

0 comments on commit f63cf13

Please sign in to comment.