diff options
author | Anders Svensson <[email protected]> | 2012-08-27 09:11:44 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2012-08-27 09:11:44 +0200 |
commit | 12febf1392d53cefe072860fdc60df85809ea90d (patch) | |
tree | 50a1a30755bfcff094a39fa7e0c51e036fad0aca /lib/diameter | |
parent | 94af89e62b9c277b9d32c86e68deb40d8fe532f9 (diff) | |
download | otp-12febf1392d53cefe072860fdc60df85809ea90d.tar.gz otp-12febf1392d53cefe072860fdc60df85809ea90d.tar.bz2 otp-12febf1392d53cefe072860fdc60df85809ea90d.zip |
Increase buffer sizes in gen_sctp suite
This improves the situation with long turnaround times but doesn't
completely solve the problem.
Diffstat (limited to 'lib/diameter')
-rw-r--r-- | lib/diameter/test/diameter_gen_sctp_SUITE.erl | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/diameter/test/diameter_gen_sctp_SUITE.erl b/lib/diameter/test/diameter_gen_sctp_SUITE.erl index 7f435a6b7a..5e65b84b56 100644 --- a/lib/diameter/test/diameter_gen_sctp_SUITE.erl +++ b/lib/diameter/test/diameter_gen_sctp_SUITE.erl @@ -341,8 +341,15 @@ receive_what_was_sent(_Config) -> %% open/0 open() -> - gen_sctp:open([{ip, ?ADDR}, {port, 0}, {active, true}, binary]). + open([]). +%% open/1 + +open(Opts) -> + gen_sctp:open([{ip, ?ADDR}, {port, 0}, {active, true}, binary, + {recbuf, 1 bsl 16}, {sndbuf, 1 bsl 16} + | Opts]). + %% assoc/1 assoc(Sock) -> |