Skip to content

Commit

Permalink
fix flaky test and goimport
Browse files Browse the repository at this point in the history
  • Loading branch information
vermapratyush committed Sep 26, 2017
1 parent 5ef977f commit fa3c586
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion hystrix/hystrix_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (
"sync/atomic"

. "github.com/smartystreets/goconvey/convey"
"testing/quick"
)

func TestSuccess(t *testing.T) {
Expand Down
1 change: 1 addition & 0 deletions hystrix/pool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ func TestWaitingCount(t *testing.T) {

Convey("WaitingTicket should be max-10", func() {
<-checkpoint
time.Sleep(500 * time.Millisecond)
So(pool.WaitingCount(), ShouldEqual, pool.QueueSizeRejectionThreshold-10)
})

Expand Down

0 comments on commit fa3c586

Please sign in to comment.