Skip to content

Commit

Permalink
Fix hanging call to httptest.Server.Close()
Browse files Browse the repository at this point in the history
Sometimes httptest.Server.Close() seems to block forever. There's an
issue that mentions this problem: golang/go#13032
That issue was supposed to be fixed but we still see this happening on
sometimes. I'm going to lower the request interval in the hope that this
gives the server enough time to shutdown.
  • Loading branch information
st3v committed Oct 7, 2016
1 parent b94c0f7 commit 69703af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consistency/consistency_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var _ = Describe("consistency", func() {
statefilePath string
keycount int

interval = 10 * time.Millisecond
interval = 100 * time.Millisecond
)

JustBeforeEach(func() {
Expand Down

0 comments on commit 69703af

Please sign in to comment.