diff --git a/commons/queue/queue_test.go b/commons/queue/queue_test.go
index <HASH>..<HASH> 100644
--- a/commons/queue/queue_test.go
+++ b/commons/queue/queue_test.go
@@ -86,7 +86,7 @@ func (s *MySuite) TestOffer(c *C) {
 }
 
 func (s *MySuite) TestConcurrent(c *C) {
-	cap := math.MaxInt16
+	cap := 32
 	q, _ := NewChannelQueue(cap)
 	if q == nil {
 		c.Fail()
reduce number of threads in test, -race flag during tests makes it very slow