Skip to content

Commit

Permalink
Slightly higher so publisher can connect
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Collison <derek@nats.io>
  • Loading branch information
derekcollison committed Jun 27, 2018
1 parent 57e5789 commit 81a1b02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/closed_conns_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ func TestClosedMaxPayload(t *testing.T) {

func TestClosedSlowConsumerWriteDeadline(t *testing.T) {
opts := DefaultOptions()
opts.WriteDeadline = 10 * time.Microsecond // Make very small to trip.
opts.WriteDeadline = 10 * time.Millisecond // Make very small to trip.
opts.MaxPending = 500 * 1024 * 1024 // Set high so it will not trip here.
s := RunServer(opts)
defer s.Shutdown()
Expand Down

0 comments on commit 81a1b02

Please sign in to comment.