Skip to content

Commit

Permalink
fix queue test TestQueueConcurrent queue size set bug https://circlec…
Browse files Browse the repository at this point in the history
  • Loading branch information
jolestar committed Jan 6, 2016
1 parent 4379849 commit 77e476c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions collections/queue_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,8 @@ func (this *LinkedBlockDequeTestSuite) TestQueueLock() {
}

func (this *LinkedBlockDequeTestSuite) TestQueueConcurrent() {
this.deque = NewDeque(10)
count := 30
count := 100
this.deque = NewDeque(count)
ch := make(chan int, count)
for i := 0; i < count; i++ {
go func() {
Expand Down

0 comments on commit 77e476c

Please sign in to comment.